Introduction
The Fairchild Channel F (also sold as the Video Entertainment System, VES) has a Fairchild F8 processor. A game comes on a Videocart, a ROM cartridge, and its file is the contents of the ROM: no header, no signature, no checksum.
The console’s own 2 KB BIOS sits at $0000-$07FF and the cartridge is seen from $0800.
No extension is claimed. MAME’s cartridge slot source does not name one, .bin means hundreds of other things on this site, and nothing in the bytes can be recognised, so the viewer appears only in the
Read as list, under Raw / headerless, as Fairchild Channel F ROM (headerless). It fixes the processor (an F8, with its own
instruction set pages), starts the base address at $0800 and names the BIOS routines, the cartridge RAM and the I/O ports. Everything else is the raw machine code viewer.
One fact of the bytes is used, but never to claim the file: after a reset the BIOS reads the byte at $0800 and, when it is $55, jumps to $0802; otherwise it runs its built-in games (VES wiki, Disassembly:Bios). So the entry
offset starts at 2 when the file’s first byte is $55 and at 0 otherwise, and the table says which. The wiki’s CARTRIDGE_START macro emits $55, $00: the second byte is the cartridge’s.
Software
Structure
0x0000Marker$55: what the BIOS checks at$08001 byte0x0001Program: F8 code, the BIOS jumping to$0802, and datathe rest, 1 KB to several KB
Some cartridges carry RAM, and a 256 KB file is a multi-cart: see the memory map. The viewer shows any file as one block of code from $0800.
What the viewer shows
- Raw code tab: the table of the raw viewer (the CPU is fixed by the platform), the entry, and facts of the bytes: the platform, the first byte (and what the BIOS would do), and a note for a 256 KB file (MAME’s multi-cart size, shown as one block, banks not modelled).
- The disassembly: every byte decoded, in columns, with the F8 decoder. Calls and jumps to the BIOS show its routine names (
BIOS_DELAY,BIOS_CLEAR_SCREEN,BIOS_PUSH_K,BIOS_POP_K,BIOS_DRAW_CHARACTERand the others in the table).
As a check, the real BIOS (two 1 KB ROM files kept with the emulators.org Channel F emulator, read in place and never copied) was decoded with the same F8 decoder: every one of the five routine addresses from the wiki’s Ves.h is the target of a call or jump inside the BIOS.
Not described
Known, not yet covered
- Viewer: the multi-cart (banked 8 KB windows written through
$3000-$3FFFin MAME’s model) and the cartridges with RAM (Maze, Hangman, Chess): only the addresses are in the table. - Reference: the BIOS in full: the table lists the routines the wiki names, not every subroutine, and the scratchpad register conventions are summarised, not tabulated.
- Viewer: I/O port names in the code: an
OUTorINshows its number, not a port name (the ports are in the memory map page). - Reference: the 3851 PSU and 3853 SMI chips that give the F8 its ports and interrupts, beyond the ports the wiki lists.
Unknown
- Viewer: a standard file extension and the sizes of all real Videocarts: neither was found in a readable source (MAME only says a file of exactly 256 KB is a multi-cart).
Links
Software
- MAME – emulator with a Channel F driver
Reference
- VES wiki: Channel F BIOS disassembly – the cartridge check and the BIOS routines
- VES wiki: Ves.h – the BIOS and colour symbols
- VES wiki: Port – the bits of ports 0, 1, 4 and 5
- MAME channelf.cpp – the memory and port maps
- Fairchild F8 instruction set – the decoder
- Raw machine code – the viewer this is built on, and how to reach it