mirror of
https://github.com/sheumann/AFPBridge.git
synced 2024-06-02 12:41:36 +00:00
9d6dad03b4
This can occur when control-reset is pressed in P8 mode. It’s supposed to reinitialize the AppleTalk stack. In our case, we mark connections to be reset once we're back in GS/OS, since we can't call Marinetti in P8 mode.
32 lines
421 B
NASM
32 lines
421 B
NASM
case on
|
|
|
|
dummy private
|
|
bra InitStart
|
|
end
|
|
|
|
unloadFlagPtr data
|
|
ds 4
|
|
end
|
|
|
|
* This gets called when control-reset is pressed in P8 mode.
|
|
* It's intended to basically reinitialize the whole AppleTalk stack.
|
|
resetRoutine start
|
|
jsl oldSoftReset
|
|
jml ResetAllSessions
|
|
end
|
|
|
|
oldSoftReset start
|
|
ds 4 ; to be modified
|
|
end
|
|
|
|
InitStart private
|
|
tay
|
|
tsc
|
|
clc
|
|
adc #4
|
|
sta >unloadFlagPtr
|
|
lda #0
|
|
sta >unloadFlagPtr+2
|
|
tya
|
|
end
|