mirror of
https://github.com/Pecusx/scorch_src.git
synced 2026-05-20 22:33:43 +02:00
rmtplayr_modified.asm <-- simplified and working RMT player
This commit is contained in:
+16
-5
@@ -5,16 +5,27 @@ screenBytes = 40
|
||||
screenwidth = screenBytes*8 ; Max screenwidth = 512!!!
|
||||
|
||||
TankWidth = 8
|
||||
.if target = 5200
|
||||
;----------------------------------------------
|
||||
; Player/missile memory
|
||||
PMGraph = $1800 ; real PM start = PMGraph + $0300
|
||||
; Generated tables
|
||||
linetableL = PMGraph + $0300 - (screenHeight+1)*2
|
||||
linetableH = PMGraph + $0300 - (screenHeight+1)
|
||||
display = $2010 ;screen takes $1f68 because it has screenHeight+1 lines because of out of screen tracer(?)
|
||||
;rmtplyr len = $393, align to the beginning of the page.
|
||||
rmt_compilation_addr = ((linetableL - $393) / $100)*$100 ; $1500 for now
|
||||
rmt_memory_start = rmt_compilation_addr - $320 ; $11e0 for now
|
||||
.else
|
||||
;----------------------------------------------
|
||||
; Player/missile memory
|
||||
PMGraph = $0800 ; real PM start = $0b00
|
||||
|
||||
|
||||
; Generated tables
|
||||
linetableL = $0b00 - (screenHeight+1)*2
|
||||
linetableH = $0b00 - (screenHeight+1)
|
||||
|
||||
linetableL = PMGraph + $0300 - (screenHeight+1)*2
|
||||
linetableH = PMGraph + $0300 - (screenHeight+1)
|
||||
display = $1010 ;screen takes $1f68 because it has screenHeight+1 lines because of out of screen tracer(?)
|
||||
.endif
|
||||
;----------------------------------------------
|
||||
|
||||
margin = 40 ;mountain drawing Y variable margin
|
||||
MaxPlayers = 6
|
||||
|
||||
Reference in New Issue
Block a user