mirror of
https://github.com/cc65/cc65.git
synced 2025-01-11 11:30:13 +00:00
Moving the quit-hook towards the end of page 3 as far as possible slightly increases the compatibility with BIN programs making use of page 3 themselves.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5358 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
e935c8fead
commit
80a7a8df00
@ -188,12 +188,6 @@ source: jsr $BF00
|
||||
; Go for it ...
|
||||
jmp (data_buffer)
|
||||
|
||||
; Quit to ProDOS dispatcher
|
||||
quit = * - source + target
|
||||
: jsr $BF00
|
||||
.byte $65 ; QUIT
|
||||
.word quit_param
|
||||
|
||||
read_param = * - source + target
|
||||
.byte $04 ; PARAM_COUNT
|
||||
read_ref = * - source + target
|
||||
@ -208,6 +202,12 @@ close_param = * - source + target
|
||||
close_ref = * - source + target
|
||||
.byte $00 ; REF_NUM
|
||||
|
||||
; Quit to ProDOS dispatcher
|
||||
quit = * - source + target
|
||||
: jsr $BF00
|
||||
.byte $65 ; QUIT
|
||||
.word quit_param
|
||||
|
||||
quit_param = * - source + target
|
||||
.byte $04 ; PARAM_COUNT
|
||||
.byte $00 ; QUIT_TYPE
|
||||
@ -215,8 +215,8 @@ quit_param = * - source + target
|
||||
.byte $00 ; RESERVED
|
||||
.word $0000 ; RESERVED
|
||||
|
||||
size = * - source
|
||||
size = * - source
|
||||
|
||||
target = DOSWARM - size
|
||||
target = DOSWARM - size
|
||||
|
||||
dosvec: jmp quit
|
||||
|
Loading…
x
Reference in New Issue
Block a user