orac81 information 66 glöps
- general:
- level: user
- personal:
- first name: a
- last name: millett
- 128b Commodore 64 VIC 20 C16/116/plus4 Commodore 128 Commodore PET TinyLife-6502
- A few more code notes..
This version will go down by 12 bytes to 114 bytes if you loose the BASIC stub and start with a SYS. But it does rely on the PET editor to setup the start pattern, some machines dont have that. As a simple hack you could just fill the screen with random data to start.
The code depends on having a pet style mem mapped char screen. So it might be portable to uk101 or BBC text mode or Apple2 text (with address translation) but other bitmap screen 6502 systems (oric?) would need additional code. Most sizecode stuff is very system dependant.
The code makes a complete copy of the screen with just bit 0 kept, so each byte is 0 or 1. Letter O or petscii "ball" (81) have bit 0 set. It then uses this code to count the surrounding cells:
Code:CLC ; Add 8 surrounding cell values together LDA (ZWORK),Y INY ADC (ZWORK),Y INY ADC (ZWORK),Y LDY #VDUX ADC (ZWORK),Y INY INY ADC (ZWORK),Y LDY #VDUX+VDUX ADC (ZWORK),Y INY ADC (ZWORK),Y INY ADC (ZWORK),Y ; A=Surrounding cell count
Now, instead of copying the screen, if you kept a 3 line rolling wrap around 256 byte buffer (with just bit 0 copied) you can just use 8 ADC ABS,Y instructions, with the ABS offset set for each cell , which will eliminate the INY and be faster. Remember that you read 8 cells for every new cell, so you want to make the count as fast as possible.
You could implement proper wrap around at the same time. That would make the code bigger than 126 bytes though.
A version using Petscii quarter pixel gfx would give 80x50, with the right code using that method should be quite fast. It would need a special editor for it. - rulezadded on the 2025-11-18 13:43:07
- 128b Commodore 64 VIC 20 C16/116/plus4 Commodore 128 Commodore PET TinyLife-6502
- TINYLIFE
This is a "size-code" version of the classic LIFE game, for the Commodore C64, C16, VIC20, PET. The smallest version is 126 bytes (see smallbin folder), but I recommend using the slightly bigger version with built in edit and help.
To use, just edit using the PET editor to create the patterns using the
letter "O" for the cells.
Note that the program is very simple, ie. it doesnt handle screen
wrap properly. But it is quite fast.
The "small" version needs the user to edit before running. Put the "run"
command on the 2nd line. This version needs VIC20 users to type:
POKE 36879,8:print chr$(5)chr$(147) before editing.
To avoid all that, use the "big" version!
Realeased as FREE/GPL3 software, source included.
https://github.com/orac81/miniapples/tree/main/lifet - isokadded on the 2025-11-13 15:45:07
- 16k demo Commodore 64 My 64 by Genesis Project [web]
- I'm trying to work out the titles of the software on the table.
- rulezadded on the 2025-11-04 01:53:48
- 4k game Commodore 64 VIC 20 C16/116/plus4 Commodore PET Orac Draughts
- Forgot to say, for auto play demo just type:
A <RETURN> - isokadded on the 2025-11-02 13:28:16
- 4k game Commodore 64 VIC 20 C16/116/plus4 Commodore PET Orac Draughts
- Thanks mermaid, and yeah, Vic20 rules!
- isokadded on the 2025-11-02 11:41:11
- 4k game Commodore 64 VIC 20 C16/116/plus4 Commodore PET Orac Draughts
- ok, I was never clear on the definition. I managed to squeeze the unexpanded vic20 version to 3300 bytes, with it still playing a fairly good game, so thats sort-of size coding.
Maybe checkers not cool enough for the scene! - isokadded on the 2025-10-31 00:48:22
- 4k game Commodore 64 VIC 20 C16/116/plus4 Commodore PET Orac Draughts
- ORAC is a (fairly) strong open-source 6502 checkers playing program. Its was originally written in 1981 for the PET, then later adapted for the Commodore 64, C16/+4 and VIC20. The unexpanded VIC20 version is just 3300 bytes
Main files in this archive:
orac-c64.prg - Commodore 64 version.
orac-c16.prg - Commodore 16/Plus 4 version.
orac-pet.prg - Commodore PET version. (BASIC 2.0, PET 30xx/2001)
orac-vic8k.prg - Commodore VIC20 8k+ version.
orac-vic5k.prg - Commodore VIC20 unexpanded version (PETSCII only) (just 3300 bytes!).
orac88pet.prg - Original PET version, written and hand-patched on a PET.
orac.s - Source code for above, compiles with CA65 or ASM502. Released as free under GPL3 licence.
orac.txt - Full instructions and quick tutorial on checkers.
https://github.com/orac81/Orac-Draughts#orac-draughts
Enjoy!

- isokadded on the 2025-10-28 23:08:08
- demo Commodore 64 Just an Old Knob by Hokuto Force [web]
- The cigarette smoke is a right bracket and a comma.
- isokadded on the 2025-10-15 19:34:23
- 4k game Commodore 64 VIC 20 C16/116/plus4 Freax!
- FREAX is a simple yet addictive shootem-up game for the VIC20, CBM64 & CBM16/+4. Iis open source and only 2K in size.
To move left/right use keys I,P. hit SHIFT to fire. To exit game hit key X. In the title screen you can select different modes by hitting M key. For a fast game select 1 (bit 0). For a simpler "classic" alien motion, select 2 (bit 1). For both, 3..
When the aliens move, different rows move in the opposite direction. The game has a pattern of alien movements that span over 8 levels, each level lower and more difficult. After 8 levels, the game "wraps" and keeps playing, but at a faster speed. When an alien reaches the bottom, or you use all your lives, the game is over. HINT: When shooting, shave the "side" aliens first, then try to eliminate all the ones going in one particular direction. - isokadded on the 2025-10-15 17:03:08
- demo Commodore 64 Happy Ravenday by Tristar & Red Sector Inc. [web]
- Quoth the raven nevermore!
- rulezadded on the 2025-10-13 15:05:59
account created on the 2025-04-23 15:31:18
