No more crashes!
This commit is contained in:
Antoine Vignau 2024-02-03 15:59:11 +01:00
parent 49b5a5fb8e
commit f1f4785adf
2 changed files with 12 additions and 9 deletions

View File

@ -21,6 +21,9 @@
* We DO NOT have an icon yet * We DO NOT have an icon yet
* Some bugs fixed * Some bugs fixed
* Better lisibility of the source code * Better lisibility of the source code
*
* v1.1 - 20240203
* Removed code for srqGoAway
* *
mx %00 mx %00
@ -76,20 +79,20 @@ dataOut = $06
rtl rtl
*---------------------------- *----------------------------
*
doSRQGOAWAY ldy #2 *doSRQGOAWAY ldy #2
lda #0 ; do not remove me from memory * lda #0 ; do not remove me from memory
sta [dataOut],y * sta [dataOut],y
bra myREQUEST3 * bra myREQUEST3
*
*---------------------------- *----------------------------
myREQUEST phd myREQUEST phd
tsc tsc
tcd tcd
lda reqCode lda reqCode
cmp #3 ; srqGoAway * cmp #3 ; srqGoAway
beq doSRQGOAWAY ; nah, I want to stay in memory... * beq doSRQGOAWAY ; nah, I want to stay in memory...
cmp #$0101 ; finderSaysGoodbye cmp #$0101 ; finderSaysGoodbye
beq doBYE beq doBYE
myREQUEST2 cmp #$0104 ; finderSaysBeforeOpen myREQUEST2 cmp #$0104 ; finderSaysBeforeOpen
@ -217,7 +220,7 @@ pathSONG2 ds 768 ; STR to the NTP tool
myBRUTAL str 'BrutalDeluxe~NTPPlayer~' myBRUTAL str 'BrutalDeluxe~NTPPlayer~'
mySTRING asc 'NTPPlayer v01.00 by Brutal Deluxe'00 mySTRING asc 'NTPPlayer v01.01 by Brutal Deluxe'00
*myICON dw $0080 ; Icon type *myICON dw $0080 ; Icon type
* dw $00C8 ; Icon size * dw $00C8 ; Icon size