diff --git a/README.md b/README.md index 3e3bca9..a174b43 100644 --- a/README.md +++ b/README.md @@ -51,15 +51,15 @@ Windows/MinGW: ``` usage: c2d [-vh?] - c2d [-bum] [-r row] [-t filename] [-s start address override] input[.mon],[load_address] output.dsk + c2d [-bgm] [-r row] [-t filename] [-s start address override] input[.mon],[load_address] output.dsk -h|? this help -m jump to monitor after booting -s XXXX jump to XXXX after booting -t filename, where filename is a 1K $400-$7FF text page splash screen The splash screen will display while the binary is loading - -u do not patch screen holes - -b animated loading bar (experimental) + -b animated loading bar + -g splash page is mixed mode GR -r override row default of 19 with 'row' -v print version number and exit @@ -82,6 +82,34 @@ Examples: c2d -t gameserverclient.textpage gameserverclient,800 gameserverclient.dsk ``` +### Splash Page Examples + +Click on image to see video. + +``` +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. + +[![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 +``` + +`-b` adds an animated bar on line 19. + +[![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 +``` + +`-r 23` moves the animated bar to line 23, and `-g` indicates the splash page is mixed mode text/gr. + +[![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. @@ -124,7 +152,7 @@ Yes. No input checking. Big Endian untested. ### The Ugly Stuff -c2d, Code to Disk, Version 0.56 +c2d, Code to Disk, Version 0.57 (c) 2012,2017 All Rights Reserved, Egan Ford (egan@sense.net) diff --git a/bargrloader.textpage b/bargrloader.textpage index 8ee9004..db91e2e 100644 Binary files a/bargrloader.textpage and b/bargrloader.textpage differ diff --git a/bin/c2d b/bin/c2d index 1a5eb86..edc45d9 100755 Binary files a/bin/c2d and b/bin/c2d differ diff --git a/bin/c2d.exe b/bin/c2d.exe index 4690f1f..ed0d9bb 100755 Binary files a/bin/c2d.exe and b/bin/c2d.exe differ diff --git a/c2d.h b/c2d.h index e2b8797..28f501e 100644 --- a/c2d.h +++ b/c2d.h @@ -20,7 +20,7 @@ usage: c2d [-vh?]\n\ -s XXXX jump to XXXX after booting\n\ -t filename, where filename is a 1K $400-$7FF text page splash screen\n\ The splash screen will display while the binary is loading\n\ - -b animated loading bar (experimental)\n\ + -b animated loading bar\n\ -g splash page is mixed mode GR\n\ -r override row default of 19 with 'row'\n\ -v print version number and exit\n\ diff --git a/c2d.h.0 b/c2d.h.0 index 26dfd6d..4ea7bfc 100644 --- a/c2d.h.0 +++ b/c2d.h.0 @@ -20,7 +20,7 @@ usage: c2d [-vh?]\n\ -s XXXX jump to XXXX after booting\n\ -t filename, where filename is a 1K $400-$7FF text page splash screen\n\ The splash screen will display while the binary is loading\n\ - -b animated loading bar (experimental)\n\ + -b animated loading bar\n\ -g splash page is mixed mode GR\n\ -r override row default of 19 with 'row'\n\ -v print version number and exit\n\ diff --git a/mandelbrotgr.c b/mandelbrotgr.c index dadfe5a..49fec92 100644 --- a/mandelbrotgr.c +++ b/mandelbrotgr.c @@ -18,8 +18,8 @@ unsigned char colors[15] = { 0x2, 0x6, 0x7, 0xE, 0xC, 0x4, 0xD, 0x9, 0xB, 0x3, 0x1, 0xA, 0x5, 0x8, 0x0 }; const char text[4][41] = { - "EXAMPLE GR SPLASH SCREEN", - "LOADING GAME SERVER CLIENT ...", + "EXAMPLE GR/TEXT SPLASH SCREEN", + "LOADING GAME SERVER CLIENT...", "________________________________________", "________________________________________", };