mode7_demo: move graphics lower so room for sound

This commit is contained in:
Vince Weaver 2018-03-13 00:59:54 -04:00
parent 1e1ddf8536
commit 004cf1f7fc
5 changed files with 30 additions and 23 deletions

View File

@ -1,7 +1,9 @@
.ifndef scroll_row1
scroll_row1 EQU $8A00
scroll_row2 EQU $8B00
scroll_row3 EQU $8C00
scroll_row4 EQU $8D00
.endif
SCROLL_LENGTH EQU $61
OFFSET EQU $62

View File

@ -30,10 +30,12 @@
; Note: DOS3.3 starts at $9600
.ifndef square1_lo
square1_lo EQU $8E00
square1_hi EQU $9000
square2_lo EQU $9200
square2_hi EQU $9400
.endif
; for(i=0;i<512;i++) {
; square1_lo[i]=((i*i)/4)&0xff;

View File

@ -10,17 +10,17 @@ Memory Map
-------- $ffff
| ROM/IO |
-------- $c000
| DOS3.3 | 10.5k
--------| $9600
|Multiply|
| Tables | 2k
-------- $8E00
| | 32k decompress
-------- $4000
| load | 8k
-------- $2000
| free |
-------- $1c00
| Scroll |
| Data | 1k
-------- $8A00
| |
| Free |
| | 30.5k
| Data |
-------- $1800
|Multiply|
| Tables |
-------- $1000
|GR pg 2 | 1k
|-------- $0c00

View File

@ -1,5 +1,21 @@
.include "zp.inc"
square1_lo EQU $1000
square1_hi EQU $1200
square2_lo EQU $1400
square2_hi EQU $1600
scroll_row1 EQU $1800
scroll_row2 EQU $1900
scroll_row3 EQU $1a00
scroll_row4 EQU $1b00
; matches scroll_row1 - row3
star_x EQU $1800
star_y EQU $1900
star_z EQU $1a00
start:
;================================
; include VMW logo line 0

View File

@ -375,19 +375,6 @@ move_loop_skip:
rts
; matches scroll_row1 - row3
star_x EQU $8A00
star_y EQU $8B00
star_z EQU $8C00
;==================================================
;==================================================
; Random Star