mirror of
https://github.com/zellyn/a2audit.git
synced 2024-12-28 17:30:05 +00:00
Print version number at startup
https://github.com/zellyn/a2audit/issues/2
This commit is contained in:
parent
07667f3115
commit
72aa766223
@ -6,6 +6,10 @@
|
||||
* = $6000
|
||||
START = *
|
||||
|
||||
;; Major version number
|
||||
VER_MAJOR = 1
|
||||
VER_MINOR = 1
|
||||
|
||||
;; Zero-page locations.
|
||||
SCRATCH = $1
|
||||
SCRATCH2 = $2
|
||||
@ -136,9 +140,21 @@ main:
|
||||
|
||||
jsr HOME
|
||||
+print
|
||||
!text "APPLE II AUDIT",$8D,$8D
|
||||
!text "APPLE II AUDIT "
|
||||
+printed
|
||||
|
||||
lda #(VER_MAJOR+'0')
|
||||
jsr COUT
|
||||
lda #'.'
|
||||
jsr COUT
|
||||
lda #VER_MINOR
|
||||
jsr PRBYTE
|
||||
|
||||
lda #$8D
|
||||
jsr COUT
|
||||
lda #$8D
|
||||
jsr COUT
|
||||
|
||||
;; Detection and reporting of model and memory.
|
||||
!src "detect.asm"
|
||||
|
||||
|
BIN
audit/audit.dsk
BIN
audit/audit.dsk
Binary file not shown.
Loading…
Reference in New Issue
Block a user