This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
REM screen 1 320x200 2bits per pixel | |
REM screen 2 640x200 2bits | |
REM screen 7 320x200 4bits per pixel EGA | |
REM screen 8 640x200 4bits per pixel EGA | |
REM screen 9 640x350 2bits per pixel EGA | |
REM screen 10 640x350 2bits per pixel EGA | |
REM screen 11 640x480 2 attributes VGA | |
REM screen 12 640x480 4 attributes VGA | |
REM screen 13 320x200 256 attributes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
REM screen 1 320x200 2bits per pixel | |
REM screen 7 320x200 4bits per pixel EGA | |
REM screen 8 640x200 4bits per pixel EGA | |
REM screen 9 640x350 2bits per pixel EGA | |
REM screen 10 640x350 2bits per pixel EGA | |
REM screen 11 640x480 2 attributes VGA | |
REM screen 12 640x480 4 attributes VGA | |
REM screen 13 320x200 256 attributes | |
REM vga |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SCREEN 7 | |
DIM lookup%(16) | |
FOR I = 1 TO 16 | |
READ lookup%(I) | |
NEXT I | |
REM DATA 0,24,6,30,36,12,42,18,9,33,3,27,45,21,39,15 | |
DATA 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15 | |
P% = lookup% | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SCREEN 7 | |
DIM lookup%(16) | |
FOR I = 1 TO 16 | |
READ lookup%(I) | |
NEXT I | |
REM DATA 0,24,6,30,36,12,42,18,9,33,3,27,45,21,39,15 | |
DATA 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15 | |
P% = lookup% | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Might work with MinGW/Linux? I am pretty sure I pulled the endian stuff, leaning on winsock. Maybe Linux will figure it out, not sure. | |
// Anyways Im too lazy to read how to init this stuff and bypass the apple partition map | |
// Instead I have it open an apple disk, and then when it's time to read a filesystem | |
// I close the file handle and patch it (lol) to open another filesystem. | |
// It doesn't work on the s1505_cp3540.dd image, but oddly enough I was able to get files | |
// from other 68k SYSVr2 and SYSVr3 filesystems without issue. | |
// Define JASON to turn on my horrible modifications | |
// As always the real hard work was all Peter's. |