Quantcast
Channel: Cemetech
Viewing all articles
Browse latest Browse all 75729

z80 Assembly :: Question about App headers

$
0
0
Author: ACagliano
Subject: Question about App headers
Posted: 04 Jan 2013 09:36:39 am (GMT -5)

I will not be using Wabbitcode to write this app. I will be using the DCS assembler to compile this. As such, what headers will I need to use. Something tells me:


Code:
.binarymode intel                   ; TI-83+ Application

.variablename "ZeldaGR"

.inclabels "ti8x.lbl"               ; Label file containing equates

.deflong bjump(label)               ; Jump macro
call BRT_JUMP0
.dw label
.enddeflong

.deflong bcall(label)               ; Call macro
rst rBR_CALL
.dw label
.enddeflong

.defpage 0, 16*1024, $4000          ; Page 0 definition
.defpage 1, 16*1024, $4000          ; Page 1 definition
.defpage 2, 16*1024, $4000          ; Page 2 definition (May not need)

.page 0                             ; Start page 0
; ← header is added in here for us
.block 128                      ; Advance 128 bytes for header

jp  Init


Will not suffice.
_________________
-ACagliano

Current Projects

Legend of Zelda. "Ganon's Rage"
51%


Viewing all articles
Browse latest Browse all 75729