Repository navigation
Description
The database has no platform for the COSMAC VIP's two-page 64×64 mode, often called "Hires CHIP-8", and so none of its ROMs. kripod/chip8-roms has 8 of them in its hires/ folder, by Revival Studios, David Winter, zeroZshadow, Sergey Naydenov, RB and Tom Swan. I'd like to add the platform, then the ROMs in a follow-up PR.
Which mode. This is the VIP's two-page 64×64 mode, which runs on an unmodified VIP or Telmac 1800. It's not Tom Swan's HI-RES CHIP-8 (1980), a 64×128 interpreter.
How it works (from the folder's !hires_information.txt): each ROM starts at 0x200 with 1260, a jump over a short machine-code patch that switches the VIP interpreter to 64×64. The CHIP-8 program starts at 0x2C0. 0230 calls the patch's routine that clears the 64×64 screen. An emulator doesn't need to run the patch:
- when the instruction at 0x200 is
1260, switch to 64×64 and continue at 0x2C0; - treat
0230as a clear screen.
All 8 ROMs have the same patch (apart from 11 bytes of padding), and none calls other machine code. Everything else is VIP CHIP-8, with the VIP's quirks.
Proposed entry for platforms.json:
{
"id": "hiresChip8",
"name": "Cosmac VIP Hires CHIP-8",
"description": "A 64x64 mode for CHIP-8 on the Cosmac VIP, using two pages of display memory. It runs on an unmodified VIP: each program starts with a jump (1260) over a short machine-code patch that switches the interpreter to 64x64, and the CHIP-8 program starts at 0x2C0. 0230 clears the 64x64 screen. Emulators can skip the patch: when the first instruction at 0x200 is 1260, switch to 64x64 and continue at 0x2C0. Not to be confused with Tom Swan's 64x128 HI-RES CHIP-8 (1980).",
"displayResolutions": ["64x64"],
"defaultTickrate": 15,
"quirks": {
"shift": false,
"memoryIncrementByX": false,
"memoryLeaveIUnchanged": false,
"wrap": false,
"jump": false,
"vblank": true,
"logic": true
}
}The quirks and tick rate are originalChip8's. The id follows the existing ones; happy to change it, or the name, to whatever fits best.
I've left out release: I couldn't find when this mode was first published. If you know the VIPER issue or another source that introduced it, I'll add the date.
Reference implementation: Chippie (https://rbscholtus.github.io/chippie/), which plays all 8 ROMs this way (chip8/ops_hires.go in https://github.com/rbscholtus/chippie). Search its library for "hires".
I've opened #34 with the platform and the 8 programs.
Activity
tobiasvl commentedon Nov 15, 2026
I assume this is "2 Page Display for CHIP-8" by Andy Modla and Jef Winsor (also called Jeff Windsor in the editor's note), which was published in VIPER volume 1 issue 3, in September 1978. We have documented this mode here: https://chip-8.github.io/extensions/#two-page-display-for-chip-8
Maybe call this one "2 Page Display for CHIP-8" instead of "HI-RES", to avoid this confusion? I don't see the "hi-res" name anywhere in the original publication, so it's probably a later name given to it.
Hmm, why would it not start at
0x260?1260is a jump to0x260, not0x2C0. The aforementioned VIPER issue also says "YOUR CHIP-8 PROGRAMS START AT 0260."This is probably a good heuristic in practice, but any CHIP-8 game could in theory start with a
1260instruction. Maybe it'd be better, or at least more robust, to read the bytes between0x202and0x250(the last actual byte of the machine code) and see if they match the provided machine code bytes?Rename hiresChip8 to twoPageChip8, the 2 Page Display for CHIP-8
rbscholtus commentedon Nov 16, 2026
Thanks, that was very helpful: you were right on all three points. I read the article in the VIPER scan (pp. 10–12) and have updated #34 to match.
Name and date. The platform is now
twoPageChip8, "2 Page Display for CHIP-8", with"release": "1978-09", crediting Andy Modla and Jef Winsor.0x260. I had this wrong. The article's programs start at 0x260, after the patch at 0x200–0x249 that every program must include. The ROMs in kripod's
hires/folder go one step further so that they run on an unmodified VIP: their CHIP-8 code at 0x260 copies the article's interpreter changes into 0x003–0x1FB (Fx55stores of data kept at 0x24A), calls02AC, clears the screen with0230at 0x2BE, and only then reaches the program proper at 0x2C0. The description now explains both.Detection. Agreed. The suggested rule is now: if 0x200 holds
1260and 0x202–0x249 hold the article's patch byte for byte, switch to 64×64 and continue at 0x2C0 after the self-patching code, else at 0x260; then treat0230as clearing the screen. All 8 ROMs have exactly the article's bytes there. Chippie now works this way (chip8/ops_twopage.go).Two more things came up while checking:
A684 F065 7001 F055), which assumesFx65leavesIalone. The lo-res Stars is already listed assuperchip, probably for the same reason. Both are now underquirkyPlatforms,twoPageChip8withmemoryLeaveIUnchanged: true.I hope this looks good now.
[-]Add a platform for the COSMAC VIP's two-page 64×64 "Hires CHIP-8" mode[/-][+]Add a platform for the COSMAC VIP's 2 Page Display for CHIP-8 (64×64)[/+]tobiasvl commentedon Nov 16, 2026
Yes, it does, thank you!