sb: shuffle around so disk used more optimally

This commit is contained in:
Vince Weaver 2024-09-18 22:26:24 -04:00
parent 54e1768aff
commit c8bbc51045
3 changed files with 44 additions and 11 deletions

View File

@ -21,12 +21,13 @@ sb.dsk: QBOOT QLOAD TITLE DUCK_POND ROOF ASPLODE BACK_OFF \
$(DOS33_RAW) sb.dsk 1 0 QLOAD 0 0
$(DOS33_RAW) sb.dsk 2 0 TITLE 0 0
$(DOS33_RAW) sb.dsk 5 0 DUCK_POND 0 0
$(DOS33_RAW) sb.dsk 10 0 ROOF 0 0
$(DOS33_RAW) sb.dsk 15 0 ASPLODE 0 0
$(DOS33_RAW) sb.dsk 8 0 ROOF 0 0
$(DOS33_RAW) sb.dsk 11 0 ASPLODE 0 0
# $(DOS33_RAW) sb.dsk 20 0 TARGET 0 0
$(DOS33_RAW) sb.dsk 20 0 ./fish/FISH 0 0
$(DOS33_RAW) sb.dsk 30 0 RAT 0 0
$(DOS33_RAW) sb.dsk 32 0 BACK_OFF 0 0
$(DOS33_RAW) sb.dsk 16 0 ./fish/FISH 0 0
$(DOS33_RAW) sb.dsk 22 0 RAT 0 0
$(DOS33_RAW) sb.dsk 24 0 BACK_OFF 0 0
$(DOS33_RAW) sb.dsk 26 0 ../peasant_mini/cliff/CLIMB 0 0
####

32
games/sb/NOTES Normal file
View File

@ -0,0 +1,32 @@
Disk contents
Disk00 Map (disk has 35 tracks, each 4k in size)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~$~~~~~~~
T 0 = Qboot
T 1 = QLOAD 99 bytes = 1T (4096) 4k free
T 2 = TITLE 9280 bytes = 3T (12288) 3k free
T 5 = DUCK_POND 3474 bytes = 3T (12288) 9k free
T 8 = ROOF 865 bytes = 3T (12288) 11k free
T 11 = ASPLODE 17042 bytes = 5T (20480) 3k free
T 16 = FISH 23287 bytes = 6T (24576) 1k free
T 22 = RAT 7581 bytes = 2T ( 8192) 1k free
T 24 = BACK_OFF 6072 bytes = 2T ( 8192) 2k free
T 26 = CLIMB 13013 bytes = 4T (16384) 3k free
memory map
6000 code
A000 background
Code currently 16k
Need to be 8 K in order to fit bg2 at $8000
asplode_sound = 4.9k
graphics1 = 1.3k (would need another 1.3k for other graphic)
title = 1.4k

View File

@ -167,26 +167,26 @@ error_string:
which_disk_array:
.byte 1,1,1,1 ; TITLE, DUCK, ROOF, ASPLODE
.byte 1,1,1,1 ; ?, FISH, RAT, BACK_OFF
.byte 1,1,1,1 ; CLIMB, FISH, RAT, BACK_OFF
load_address_array:
.byte $60,$60,$60,$40 ; TITLE, DUCK, ROOF, ASPLODE
.byte $60,$40,$60,$60 ; ?, FISH, RAT, BACK_OFF
.byte $60,$40,$60,$60 ; CLIMB, FISH, RAT, BACK_OFF
track_array:
.byte 2, 5,10,15 ; TITLE, DUCK, ROOF, ASPLODE
.byte 20,20,30,32 ; ?, FISH, RAT, BACK_OFF
.byte 2, 5, 8,11 ; TITLE, DUCK, ROOF, ASPLODE
.byte 26,16,22,24 ; CLIMB, FISH, RAT, BACK_OFF
sector_array:
.byte 0, 0, 0, 0 ; TITLE, DUCK, ROOF, ASPLODE
.byte 0, 0, 0, 0 ; ?, FISH, RAT, BACK_OFF
.byte 0, 0, 0, 0 ; CLIMB, FISH, RAT, BACK_OFF
length_array:
.byte 40, 16, 16, 70 ; TITLE, DUCK, ROOF, ASPLODE
.byte 32, 92, 32, 24 ; ?, FISH, RAT, BACK_OFF
.byte 64, 92, 32, 32 ; CLIMB, FISH, RAT, BACK_OFF
qload_end: