diff --git a/README.md b/README.md index 8ce7d25..be7a4ad 100644 --- a/README.md +++ b/README.md @@ -86,16 +86,18 @@ Examples: *Click on image to see video.* -> Splash pages are the exact bytes the Apple II expects in memory range $400-$7FF. Your splash screen should be exactly 1024 bytes (don't worry the `c2d` loader will not over-right the Peripheral Slot Scratchpad RAM). +> Splash pages are the exact bytes the Apple II expects in memory range $400-$7FF. Your splash screen should be exactly 1024 bytes (do not worry, the `c2d` loader will not over-right the Peripheral Slot Scratchpad RAM). ``` c2d -t gameserverclient.textpage gameserverclient,800 gameserverclient.dsk ``` -`-t gameserverclient.textpage` tell `c2d` to put up a text splash page while the binary is loading. +`-t gameserverclient.textpage` instructs `c2d` to put up a text splash page while the binary is loading. [![splash](https://img.youtube.com/vi/9EPy0JnnJyA/0.jpg)](https://www.youtube.com/watch?v=9EPy0JnnJyA "splash") +----- + ``` c2d -b -t barloader.textpage gameserverclient,800 gameserverclientbar.dsk ``` @@ -104,6 +106,8 @@ c2d -b -t barloader.textpage gameserverclient,800 gameserverclientbar.dsk [![splash](https://img.youtube.com/vi/D3SaHlw4fgM/0.jpg)](https://www.youtube.com/watch?v=D3SaHlw4fgM "splashbar") +----- + ``` c2d -b -g -r 23 -t bargrloader.textpage gameserverclient,800 gameserverclientbargr.dsk ``` @@ -112,6 +116,8 @@ c2d -b -g -r 23 -t bargrloader.textpage gameserverclient,800 gameserverclientbar [![splashbargr](https://img.youtube.com/vi/4Ik1eraAM6c/0.jpg)](https://www.youtube.com/watch?v=4Ik1eraAM6c "splashbargr") +----- + ### text2page Example Input is expected to be ASCII text (LF or CRLF line terminated). Only the first 40 characters/line and the first 24 lines are read. See `gameserverclient.text` and `barloader.text` examples. diff --git a/c2d.c b/c2d.c index b6db471..3e464d7 100644 --- a/c2d.c +++ b/c2d.c @@ -276,10 +276,6 @@ int main(int argc, char **argv) // program start MSB blank.track[1].sector[4].byte[loadersize + 8] = rowaddr >> 8; - // temp hack to prevent screen from scrolling - //if(row == 23) - // bar_length = 39; - for(i = 1; i <= bar_length; i++) blank.track[1].sector[4].byte[loadersize + 8 + i] = i * num_sectors / bar_length; } @@ -302,7 +298,6 @@ int main(int argc, char **argv) fprintf(stderr, "Binary Number of sectors: %d\n", (int) ceil((filesize + (loadaddress & 0xFF)) / 256.0)); fprintf(stderr, "Binary Memory page range: $%02X - $%02X\n", loadaddress >> 8, (loadaddress + filesize - 1) >> 8); - //loaderstart = 0x800; loaderstart = 0xC00; blank.track[0].sector[1].byte[0x3B] = 0x4C;