Where this comes from
MAME’s src/mame/fairchild/channelf.cpp and the cartridge slot sources under src/devices/bus/chanf, and three pages of the VES wiki (Disassembly:Bios, Ves.h and Port), all fetched 2026-11-18; the fetch tool returns summaries,
so a rule that rests on one is “our words”. The names in the disassembly are the wiki’s (its BIOS_DELAY and so on). The BIOS routine addresses were also checked against the real BIOS (below).
The F8 program space
| Address | What |
|---|---|
$0000-$07FF | The BIOS: two 1 KB ROMs, sl31253 at $0000 and sl31254 at $0400 (the Luxor VES uses sl90025 in place of the first). It holds the console’s own games, run when no cartridge answers. |
$0800-$FFFF | The cartridge slot, read-only. A standard Videocart starts at $0800; the wiki calls it cartridgeStart, and the BIOS jumps to cartridgeEntry at $0802 when $0800 holds $55. |
$2800-$2FFF | RAM on the cartridge (Chess and the multi-carts, a 3853 chip, in MAME); Ves.h calls $2800 ram |
$3000-$3FFF | For the multi-cart types, a write here selects the bank (MAME). Each bank is an 8 KB window; MAME takes a file of exactly 256 KB (0x40000) as a multi-cart and any other size as a plain cartridge. |
The I/O ports
Bits as the VES wiki’s Port page gives them (MAME’s handlers agree on the use of each port).
| Port | What |
|---|---|
| 0 | Console. Read: bits 0-3 the buttons TIME, MODE, HOLD, START (bits 4 and 7 not connected). Write: bit 5 is the RAM write strobe (a pulse writes to the video RAM), bit 6 enables the controller data (1 during a video RAM write). |
| 1 | Right controller. Read: bit 0 right, 1 left, 2 back, 3 forward, 4 counter-clockwise, 5 clockwise, 6 pull, 7 push. Write: bits 6 and 7 are the colour data of the plotted pixel (bit 6 data 0, bit 7 data 1). |
| 4 | Left controller (same bits as port 1) and the horizontal position: bit 0 video select, bits 1-6 horizontal A to F. |
| 5 | Vertical position and sound: bits 0-5 the Y coordinate, bits 6 and 7 the beep tone. |
| $0C, $0D | 3852: direct data transfer with a 3854 DMA chip; 3853: the programmable interrupt vector registers |
| $0E, $0F | 3853: interrupt control and the local timer |
| $20, $21 | Videocart 18: a 1K x 1 2012 RAM (MAME’s Hangman ports) |
| $24, $25 | Videocart 10: a 1K x 1 2102 RAM (MAME’s Maze ports) |
| $EC, $ED | The SL31116 variant of the 3852 uses these in place of $0C and $0D |
| $F0-$FF | 3854 DMA: the address, byte-count and function registers |
The colours of a pixel (the data bits of port 1): green $00, red $40, blue $80, background $C0 (Ves.h).
BIOS routines
The explorer names these addresses wherever a call or jump goes to them. The first five are the ones Ves.h defines for programs; the others are labels of the wiki’s BIOS disassembly.
| Address | Name | What |
|---|---|---|
$0020 | BIOS_GAME_SELECT | Main game-selection loop (prints the blue G prompt) |
$0037 | BIOS_GAME_LOOP | Main game loop body |
$0083 | BIOS_SPEEDS | Table of delay values per mode: $22 $13 $07 $03 $03 |
$008F | BIOS_DELAY | Delay: the count in r5, r6 is the inner counter |
$0099 | BIOS_PROMPT | Draws a character at row r1, column r2 and waits for a button |
$00C1 | BIOS_READ_BUTTONS | Reads the buttons and debounces them |
$00D0 | BIOS_CLEAR_SCREEN | Clears the 128 x 64 screen to the palette value in r3 |
$0107 | BIOS_PUSH_K | Pushes K (r12-r13) onto the K stack: registers r40-r58, the pointer in r59 |
$011E | BIOS_POP_K | Pops K from that stack |
$0224 | BIOS_PROMPTS | Prints the S? prompt and handles the Start, Mode and Time buttons |
$0679 | BIOS_DRAW_CHARACTER | Draws one 5 x 8 glyph: r0 the glyph, r1 the row, r2 the column |
$0767 | BIOS_BITMAPS | The glyph table (digits, letters, symbols, player sprites) |
$0800, $0802 | CARTRIDGE_START, CARTRIDGE_ENTRY | Where the cartridge begins and where the BIOS jumps to |
$2800 | CART_RAM | Cartridge RAM (Ves.h ram) |
The BIOS clears registers r0-r63, sets the K stack pointer (r59) to $28 and then performs the cartridge check. Register r31 must have data in bit 0 and/or bit 7 or a black bar appears from row 50 (the wiki’s note).
Check against the real BIOS. The two BIOS files (1 KB each) that sit beside the emulators.org Channel F emulator were decoded with the explorer’s F8 decoder, in place, without copying them; $008F, $00D0, $0107, $011E and $0679 are each the target of at least one call
or jump inside the BIOS, which a wrong address would not be. The other addresses in the table are the wiki’s and are not independently checked.
Not described
Known, not yet covered
- Reference: the BIOS routines the wiki does not name, the scratchpad conventions in full, and the multi-cart bank-switch protocol beyond MAME’s model (the low five bits of the written value select an 8 KB bank in both MAME variants; the “final” version also uses bit 5 for a 4 KB half).
- Viewer: port names in
INandOUToperands.
Unknown
- Reference: a readable manufacturer document for the F8 ports and the 3851/3853 chips was not read; the bit meanings are the wiki’s and MAME’s.