mirror of https://github.com/datajerk/c2d.git
readme clean
This commit is contained in:
parent
e3a17ab29b
commit
7e03db4b42
10
README.md
10
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.
|
||||
|
|
5
c2d.c
5
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;
|
||||
|
|
Loading…
Reference in New Issue