;;; gcc for m6809 : Apr 3 2025 06:14:16 ;;; 4.6.4 (gcc6809lw pl9) ;;; ABI version 1 ;;; -mint16 .module spacewar.c .area .text _Delay: bra L2 L3: ;----- asm ----- ; 47 "../games/spacewar/game.c" 1 mul ; 48 "../games/spacewar/game.c" 1 mul ; 49 "../games/spacewar/game.c" 1 mul ; 50 "../games/spacewar/game.c" 1 mul ; 51 "../games/spacewar/game.c" 1 mul ;--- end asm --- leax -1,x L2: cmpx #0 ;cmphi: bne L3 rts _Beep: leas -2,s stb 1,s clr ,s bra L5 L6: ldb -222 orb #2 stb -222 ldb 4,s clra ;zero_extendqihi: R:b -> R:d tfr d,x jsr _Delay ldb -222 andb #253 stb -222 ldb 4,s clra ;zero_extendqihi: R:b -> R:d tfr d,x jsr _Delay inc ,s L5: ldb ,s cmpb 1,s ;cmpqi: bne L6 leas 2,s rts _ArithShiftRight: leas -4,s stb 3,s stx ,s clr 2,s bra L8 L10: lsr ,s ror 1,s cmpx #0 ;cmphi: bge L9 ldd ,s ora #-128 ;iorqi(ZERO) std ,s L9: inc 2,s L8: ldb 2,s cmpb 3,s ;cmpqi: bne L10 ldx ,s leas 4,s rts _FireMissile: pshs y,u leas -6,s clra ;zero_extendqihi: R:b -> R:d aslb rola aslb rola std 4,s aslb rola aslb rola tfr d,y exg d,y addd 4,s exg d,y leau _TheMissiles,y ldd #20 std ,--s leax _TheShips,y pshs x leax ,u jsr _memcpy ldb _TheShips+10,y clra ;zero_extendqihi: R:b -> R:d aslb rola std 6,s tfr d,x ldd _AccelR,x aslb rola std 4,s aslb rola aslb rola aslb rola aslb rola subd 4,s ;subhi: R:d -= 4,s tfr d,x ldd ,u leay d,x sty ,u ldy 6,s ldd _AccelS,y aslb rola std 8,s aslb rola aslb rola aslb rola aslb rola tfr d,y ldd 8,s pshs y ;subhi: R:d -= R:y subd ,s++ std 8,s ldd 2,u addd 8,s std 2,u ldd 4,u leax d,x stx 4,u ldd 8,s addd 6,u std 6,u ldb #-108 stb 11,u leas 10,s puls y,u,pc _AdvanceBody.isra.1: pshs y,u leas -18,s stx 2,s stb 8,s ldd 4,x std 14,s ldb #3 ldx 14,s jsr _ArithShiftRight tfr x,d ldx 2,s addd ,x std 10,s ldd 6,x std 16,s ldb #3 ldx 16,s jsr _ArithShiftRight tfr x,d ldx 2,s addd 2,x std 4,s ldd 10,s bra L13 L14: addd #-32768 L13: cmpd #0 ;cmphi: blt L14 std 10,s ldd 4,s bra L37 L16: addd #24576 L37: cmpd #0 ;cmphi: blt L16 std 4,s bra L38 L18: addd #-24576 L38: cmpd #24575 ;cmphi: bhi L18 std 4,s ldb 8,s lbeq L19 ldd 10,s tfr a,b clra ;zero_extendqihi: R:b -> R:d std 8,s ldd 4,s tfr a,b clra ;zero_extendqihi: R:b -> R:d std 12,s ldd 8,s cmpd #64 ;cmphi: bls L33 ldu #127 tfr u,d subd 8,s ;subhi: R:d -= 8,s bra L39 L33: ldd 8,s L39: std ,s ldd 12,s cmpd #48 ;cmphi: bls L34 ldu #95 tfr u,d subd 12,s ;subhi: R:d -= 12,s tfr d,y bra L21 L34: ldy 12,s L21: ldd ,s cmpd #47 ;cmphi: bls L22 cmpy #35 ;cmphi: bls L22 leay -36,y tfr y,d aslb rola aslb rola aslb rola aslb rola aslb rola tfr d,y ldd ,s addd #-48 aslb rola aslb rola tfr d,u exg d,y leau d,u leau _Gravity,u stu ,s leay ,u ldb ,y+ clra ;zero_extendqihi: R:b -> R:d tfr b,a clrb std 6,s ldb ,y clra ;zero_extendqihi: R:b -> R:d tfr d,u ldd 6,s leau d,u stu 6,s ldx ,s ldb 2,x tfr b,a clrb tfr d,y ldb 3,x clra ;zero_extendqihi: R:b -> R:d tfr d,u tfr y,d leau d,u stu ,s bra L23 L22: exg d,y addd ,s exg d,y ldb #1 stb ,s cmpy #23 ;cmphi: bls L24 ldb #2 stb ,s cmpy #47 ;cmphi: bls L24 ldb #3 stb ,s L24: ldb ,s clra ;zero_extendqihi: R:b -> R:d std 6,s ldb ,s clra ;zero_extendqihi: R:b -> R:d std ,s L23: ldu 6,s cmpu #1000 ;cmphi: ble L25 ldu #1000 L25: clrb leax ,u jsr _ArithShiftRight stx 6,s ldu ,s cmpu #1000 ;cmphi: ble L26 ldu #1000 L26: clrb leax ,u jsr _ArithShiftRight leau ,x ldd 8,s cmpd #63 ;cmphi: bls L27 ldd 6,s nega negb sbca #0 std 6,s L27: ldd 12,s cmpd #47 ;cmphi: bls L28 exg d,u nega negb sbca #0 exg d,u L28: ldd 14,s addd 6,s ldx 2,s std 4,x ldd 16,s leay d,u sty 6,x L19: ldx 2,s ldd 4,x cmpd #6000 ;cmphi: ble L29 ldd #6000 L29: cmpd #-6000 ;cmphi: bge L30 ldd #-6000 L30: ldx 2,s std 4,x ldd 6,x cmpd #6000 ;cmphi: ble L31 ldd #6000 L31: tfr d,y cmpd #-6000 ;cmphi: bge L32 ldd #-6000 L32: ldx 2,s std 6,x ldd 10,s std ,x ldd 4,s std 2,x leas 18,s puls y,u,pc _DrawSpot.constprop.6: pshs u leas -6,s stb 2,s lsrb lsrb clra ;zero_extendqihi: R:b -> R:d tfr d,x leau 13312,x ldb 10,s clra ;zero_extendqihi: R:b -> R:d aslb rola aslb rola aslb rola aslb rola aslb rola std ,s leau d,u ldb ,u stb ,s ldb 2,s comb andb #3 aslb clra ;zero_extendqihi: R:b -> R:d std 2,s ldd #3 ldx 2,s jsr _ashlhi3 comb andb ,s stb ,s ldb 11,s clra ;zero_extendqihi: R:b -> R:d std 4,s jsr _ashlhi3 ;movlsbqihi: D->B orb ,s stb ,u leas 6,s puls u,pc _DrawDigit.constprop.3: pshs y,u leas -9,s stb 8,s ldb 17,s clra ;zero_extendqihi: R:b -> R:d std ,s aslb rola aslb rola aslb rola aslb rola subd ,s ;subhi: R:d -= ,s addd #_Digits std 5,s ldx #0 jmp L42 L45: ldb ,y+ cmpb #32 ;cmpqi: beq L43 ldb 16,s cmpb #3 ;cmpqi: bls L47 ldb #3 stb 2,s cmpx #1 ;cmphi: ble L44 ldb #1 stb 2,s cmpx #2 ;cmphi: bne L44 tfr x,d ;movlsbqihi: R:x -> R:b bra L51 L47: ldb 16,s L51: stb 2,s L44: tfr u,d ;movlsbqihi: R:u -> R:b stb 7,s ldb 8,s addb 7,s stb 7,s ldb 2,s pshs b tfr x,d ;movlsbqihi: R:x -> R:b addb 16,s pshs b ldb 9,s stx 5,s jsr _DrawSpot.constprop.6 leas 2,s ldx 3,s L43: leau 1,u cmpu #3 ;cmphi: bne L45 ldd 5,s addd #3 std 5,s leax 1,x cmpx #5 ;cmphi: beq L41 L42: ldy 5,s ldu #0 jmp L45 L41: leas 9,s puls y,u,pc _DrawDecimal.constprop.4: pshs u leas -8,s stb 3,s stx ,s lbpl L73 tfr x,d nega negb sbca #0 tfr d,x ldb 12,s pshs b ldb 4,s jsr _DrawDecimal.constprop.4 stb 1,s inc 4,s ldb 1,s addb #-2 stb 3,s ldb #2 stb ,-s ldb 5,s pshs b ldb 5,s jsr _DrawSpot.constprop.6 ldb 3,s addb #-3 stb 5,s ldb #2 stb ,-s ldb 7,s pshs b ldb 7,s jsr _DrawSpot.constprop.6 ldb 5,s addb #-4 stb 5,s ldb #2 stb ,-s ldb 9,s pshs b ldb 7,s jsr _DrawSpot.constprop.6 leas 7,s jmp L54 L55: inc 2,s addd #-10000 bra L53 L73: clr 2,s ldd ,s L53: cmpd #9999 ;cmphi: bgt L55 std ,s clr 5,s ldd ,s bra L56 L57: inc 5,s addd #-1000 L56: cmpd #999 ;cmphi: bgt L57 std ,s clr 6,s ldd ,s bra L58 L59: inc 6,s addd #-100 L58: cmpd #99 ;cmphi: bgt L59 std ,s clr 7,s ldd ,s bra L60 L61: inc 7,s addd #-10 L60: cmpd #9 ;cmphi: bgt L61 std ,s ldb 2,s beq L74 pshs b ldb 13,s pshs b ldb 5,s pshs b ldb #100 jsr _DrawDigit.constprop.3 leas 3,s ldb #1 stb 4,s ldb #100 bra L75 L74: clr 4,s ldb #-1 L75: stb 2,s ldb 5,s bne L63 ldb 4,s beq L64 L63: ldb 5,s pshs b ldb 13,s pshs b ldb 5,s pshs b ldb #104 jsr _DrawDigit.constprop.3 ldb 5,s clra ;zero_extendqihi: R:b -> R:d tfr d,u leas 3,s cmpd #104 ;cmphi: ble L65 ldu #104 L65: tfr u,d ;movlsbqihi: R:u -> R:b stb 2,s ldb #1 stb 4,s L64: ldb 6,s bne L66 ldb 4,s beq L67 L66: ldb 6,s pshs b ldb 13,s pshs b ldb 5,s pshs b ldb #108 jsr _DrawDigit.constprop.3 ldb 5,s clra ;zero_extendqihi: R:b -> R:d tfr d,u leas 3,s cmpd #108 ;cmphi: ble L68 ldu #108 L68: tfr u,d ;movlsbqihi: R:u -> R:b stb 2,s ldb #1 stb 4,s L67: ldb 7,s bne L69 ldb 4,s beq L70 L69: ldb 7,s pshs b ldb 13,s pshs b ldb 5,s pshs b ldb #112 jsr _DrawDigit.constprop.3 ldb 5,s clra ;zero_extendqihi: R:b -> R:d tfr d,u leas 3,s cmpd #112 ;cmphi: ble L71 ldu #112 L71: tfr u,d ;movlsbqihi: R:u -> R:b stb 2,s L70: ldb 1,s ;movlsbqihi: msb:,s -> R:b pshs b ldb 13,s pshs b ldb 5,s pshs b ldb #116 jsr _DrawDigit.constprop.3 ldb 5,s clra ;zero_extendqihi: R:b -> R:d tfr d,x leas 3,s cmpd #116 ;cmphi: ble L72 ldx #116 L72: tfr x,d ;movlsbqihi: R:x -> R:b stb ,s L54: ldb ,s leas 8,s puls u,pc LC0: .ascii "Spacewar Running\0" .area .text.startup .globl _main _main: pshs y,u leas -7,s ;----- asm ----- ; 5 "../nekot1/game_postlude.h" 1 .globl __n1pre_entry ;--- end asm --- ldx #__n1pre_entry stx 0 ;----- asm ----- ; 8 "../nekot1/game_postlude.h" 1 .globl __n1pre_final ;--- end asm --- ldx #__n1pre_final stx 0 ;----- asm ----- ; 11 "../nekot1/game_postlude.h" 1 .globl __n1pre_final_startup ;--- end asm --- ldx #__n1pre_final_startup stx 0 clrb ldx #13312 jsr _gPMode1Screen ldx #13312 L77: ldd #0 std ,x++ cmpx #16384 ;cmphi: bne L77 ldx #LC0 jsr _gNetworkLog ldb 14476 eorb #2 stb 14476 ldb 15244 eorb #2 stb 15244 ldb 14484 eorb #2 stb 14484 ldb 15252 eorb #2 stb 15252 ldy #0 bra L80 L82: ldy 4,s L80: tfr y,d aslb rola aslb rola std 4,s aslb rola aslb rola addd 4,s ldx #_TheShips leau d,x ldx #2048 stx ,u leax 1,y stx 4,s tfr x,d tfr b,a clrb asla asla tfr d,x ldd 4,s tfr b,a clrb asla asla asla asla pshs x ;addhi: R:d += R:x addd ,s++ std 2,u ldd #30 std 4,u ldd #0 std 6,u ldb #-1 cmpy #1 ;cmphi: beq L78 clrb L78: stb 11,u cmpy #1 ;cmphi: bne L79 tfr y,d ;movlsbqihi: R:y -> R:b jsr _FireMissile L79: ldx 8,u stx 2,s tfr y,d aslb rola tfr d,x ldd 2,s std _displayed_score,x ldx 8,u tfr y,d ;movlsbqihi: R:y -> R:b stb 6,s aslb aslb aslb stb 2,s ldb 6,s incb pshs b ldb 3,s jsr _DrawDecimal.constprop.4 leas 1,s ldd 4,s cmpd #4 ;cmphi: lbne L82 ldx #__n1pre_final_startup stx ,--s ldx #__n1pre_final stx ,--s ldx #_loop jsr _xAfterSetup ldx #0 leas 11,s puls y,u,pc .area .text _DrawShip.part.0.constprop.2: pshs y,u leas -13,s ldy 19,s sty 7,s stb 12,s ldb #-1 stb 6,s cmpy #1 ;cmphi: bhi L85 ldb _CSWTCH.38,y stb 6,s L85: ldd ,x tfr a,b clra ;zero_extendqihi: R:b -> R:d std 4,s addd #-2 std ,s ldd 2,x tfr a,b clra ;zero_extendqihi: R:b -> R:d tfr d,u leay -2,u sty 2,s ldd ,s asra rorb asra rorb std 9,s ldb 10,x stb 11,s ldb 12,s beq L86 ldx 4,s bra L87 L88: leax 128,x L87: cmpx #0 ;cmphi: blt L88 bra L104 L92: leax -128,x L104: cmpx #128 ;cmphi: bgt L92 bra L108 L94: L106: bra L106 L108: cmpu #96 ;cmphi: bgt L94 ldb #2 stb 20,s tfr u,d stb 19,s ;movlsbqihi: R:d -> 19,s tfr x,d ;movlsbqihi: R:x -> R:b leas 13,s puls y,u jmp _DrawSpot.constprop.6 L86: ldd 2,s aslb rola aslb rola aslb rola aslb rola aslb rola tfr d,y leax 16384,y ldd 9,s leau d,x ldd ,s anda #0 andb #3 aslb rola std 2,s aslb rola aslb rola tfr d,x exg d,x addd 2,s exg d,x ldb 11,s lda #40 ;umulqihi3 mul tfr d,y exg d,y leax d,x leay _Ships,x clr 2,s L98: ldx 7,s cmpx #3 ;cmphi: bne L95 ldb 2,s cmpb #64 ;cmpqi: beq L100 cmpb #96 ;cmpqi: bne L95 bra L109 L100: ldb #-86 bra L107 L109: ldb #85 L107: stb 6,s L95: leax -3072,u cmpx #16383 ;cmphi: bhi L96 leax ,u cmpu #16383 ;cmphi: bls L97 L96: leax -3072,x L97: ldb ,x stb 9,s ldb 6,s andb ,y stb 4,s ldb 9,s eorb 4,s stb ,x+ ldb ,x stb 9,s ldb 6,s andb 1,y stb 4,s ldb 9,s eorb 4,s stb ,x ldb 2,s addb #32 stb 2,s leau 32,u leay 2,y cmpb #-96 ;cmpqi: lbne L98 leas 13,s puls y,u,pc _DrawAll.constprop.5: pshs y,u leas -2,s ldu #0 L113: tfr u,d aslb rola aslb rola std ,s aslb rola aslb rola addd ,s ldy #_TheShips leax d,y ldb 11,x beq L111 pshs u clrb jsr _DrawShip.part.0.constprop.2 leas 2,s L111: ldd ,s aslb rola aslb rola addd ,s ldy #_TheMissiles leax d,y ldb 11,x beq L112 pshs u ldb #1 jsr _DrawShip.part.0.constprop.2 leas 2,s L112: leau 1,u cmpu #4 ;cmphi: bne L113 leas 2,s puls y,u,pc _loop: pshs y,u leas -13,s ldy #0 sty 10,s ldd #0 jmp L166 L153: ldx #8 clr 4,s ldb #-128 stb 2,s L118: ldb 2,s comb stb -254 ldb -256 andb #8 bne L117 ldb 4,s orb 2,s stb 4,s L117: lsr 2,s leax -1,x cmpx #0 ;cmphi: bne L118 ldb #-1 stb -254 ldb 4,s clra ;zero_extendqihi: R:b -> R:d tfr d,y anda #0 andb #4 tfr d,u cmpu #0 ;cmphi: beq L119 clrb ldx #13312 jsr _gPMode1Screen L119: tfr y,d anda #0 andb #1 tfr d,u cmpu #0 ;cmphi: beq L120 ldb #1 ldx #13312 jsr _gPMode1Screen L120: tfr y,d anda #0 andb #2 tfr d,u cmpu #0 ;cmphi: beq L121 ldb _TheShips+20+10 eorb #8 stb _TheShips+20+10 ldu #63 tfr u,d subd _TheShips+20 ;subhi: R:d -= _TheShips+20 std _TheShips+20 ldu #47 tfr u,d subd _TheShips+20+2 ;subhi: R:d -= _TheShips+20+2 std _TheShips+20+2 ldd _TheShips+20+4 nega negb sbca #0 std _TheShips+20+4 ldd _TheShips+20+6 nega negb sbca #0 std _TheShips+20+6 ldd _TheShips+20+8 addd #-1 std _TheShips+20+8 L121: tfr y,d anda #0 andb #32 tfr d,u cmpu #0 ;cmphi: beq L122 ldb _TheShips+20+10 incb andb #15 stb _TheShips+20+10 L122: tfr y,d anda #0 andb #64 tfr d,u cmpu #0 ;cmphi: beq L123 ldb _TheShips+20+10 decb andb #15 stb _TheShips+20+10 L123: tfr y,d anda #0 andb #8 tfr d,x cmpx #0 ;cmphi: beq L124 ldb _TheShips+20+10 clra ;zero_extendqihi: R:b -> R:d std 2,s aslb rola tfr d,u ldd _AccelR,u aslb rola tfr d,x ldd _TheShips+20+4 leax d,x stx _TheShips+20+4 ldd _AccelS,u aslb rola nega negb sbca #0 tfr d,x ldd _TheShips+20+6 leax d,x stx _TheShips+20+6 L124: ldb 4,s bpl L125 ldy 10,s cmpy 8,s ;cmphi: bhs L125 ldb #1 jsr _FireMissile L125: ldy #0 L126: tfr y,d aslb rola aslb rola std 2,s aslb rola aslb rola tfr d,x ldd 2,s leau d,x leax _TheShips,u ldb #1 jsr _AdvanceBody.isra.1 leax _TheMissiles,u clrb jsr _AdvanceBody.isra.1 leay 1,y cmpy #4 ;cmphi: bne L126 ldx #0 stx 2,s jmp L163 L135: ldy 2,s cmpy #1 ;cmphi: lbne L163 ldb _TheMissiles+31 lbeq L163 ldy 10,s cmpy 8,s ;cmphi: lbhs L163 ldu _TheShips+28 stu 4,s ldy #0 clr 12,s L134: tfr y,d ;movlsbqihi: R:y -> R:b cmpb #1 ;cmpqi: lbeq L129 tfr y,d aslb rola aslb rola std 6,s aslb rola aslb rola addd 6,s addd #_TheShips std 6,s tfr d,x ldb 11,x lbeq L129 ldx _TheMissiles+20 ldu 6,s ldu ,u stu ,s pshs u ;cmphi: R:u with R:x cmpx ,s++ ;cmphi: bls L130 tfr x,d subd ,s ;subhi: R:d -= ,s bra L164 L130: ldd ,s pshs x ;subhi: R:d -= R:x subd ,s++ L164: std ,s ldx _TheMissiles+20+2 ldu 6,s ldu 2,u stu 6,s pshs u ;cmphi: R:u with R:x cmpx ,s++ ;cmphi: bls L132 tfr x,d subd 6,s ;subhi: R:d -= 6,s bra L165 L132: ldd 6,s pshs x ;subhi: R:d -= R:x subd ,s++ L165: addd ,s cmpd #1023 ;cmphi: bhi L129 ldd 4,s addd #3 std 4,s tfr y,d aslb rola tfr d,x ldd _TheShips+32,x addd #2 std _TheShips+32,x clr _TheMissiles+20+11 ldb #1 stb 12,s L129: leay 1,y cmpy #4 ;cmphi: lbne L134 ldx 4,s stx _TheShips+28 ldb 12,s beq L163 ldy 8,s leay 55,y sty 10,s ldb #30 stb ,-s jsr _Beep leas 1,s L163: ldd 2,s addd #1 std 2,s cmpd #4 ;cmphi: lbne L135 ldy 10,s leax -1,y cmpx 8,s ;cmphi:(R) bne L136 ldb #90 stb ,-s ldb #10 jsr _Beep leas 1,s L136: jsr _DrawAll.constprop.5 ldu #0 L139: tfr u,d ;movlsbqihi: R:u -> R:b stb 4,s tfr u,d aslb rola aslb rola std 2,s aslb rola aslb rola ldy 2,s leax d,y ldx _TheShips+8,x stx 2,s ldy #0 L137: tfr y,d aslb rola aslb rola std 6,s aslb rola aslb rola addd 6,s std 6,s tfr u,d addd #6 aslb rola addd 6,s tfr d,x ldd 2,s subd _TheShips,x ;subhi: R:d -= _TheShips,x std 2,s leay 1,y cmpy #4 ;cmphi: bne L137 tfr u,d aslb rola tfr d,y ldx _displayed_score,y cmpx 2,s ;cmphi:(R) beq L138 ldb 4,s incb stb 6,s ldb 4,s aslb aslb aslb stb 4,s ldb 6,s pshs b ldb 5,s jsr _DrawDecimal.constprop.4 ldb 7,s pshs b ldx 4,s ldb 6,s jsr _DrawDecimal.constprop.4 ldx 4,s stx _displayed_score,y leas 2,s L138: leau 1,u cmpu #4 ;cmphi: lbne L139 L140: ldd 8,s anda #0 andb #15 tfr d,x cmpx #0 ;cmphi: bne L141 clr _send_me clr _send_me+1 ldb #-86 stb _send_me+2 ldb #-49 stb _send_me+3 ldd #20 std ,--s ldx #_TheShips-980 stx ,--s ldx #_send_me+4 jsr _memcpy ldd #20 std ,--s ldx #_TheMissiles-980 stx ,--s ldx #_send_me+24 jsr _memcpy leas 8,s ldb #52 ldx #_send_me jsr _gSendCast bra L142 L141: ldx #1000 jsr _Delay L142: ldd 8,s anda #0 andb #3 tfr d,x cmpx #0 ;cmphi: bne L143 ldd 8,s lsra rorb lsra rorb andb #3 stb 2,s pshs b ldb #48 stb ,-s ldb #64 jsr _DrawSpot.constprop.6 leas 2,s L143: jsr _DrawAll.constprop.5 bra L144 L148: jsr _gReceiveCast64 leau ,x cmpx #0 ;cmphi: bne L145 L149: ldx #_TheShips+11 bra L146 L145: ldb 2,x cmpb #-86 ;cmpqi: bne L147 ldb 3,x cmpb #3 ;cmpqi: bhi L147 clra ;zero_extendqihi: R:b -> R:d aslb rola aslb rola std 2,s aslb rola aslb rola tfr d,x ldd 2,s leax d,x stx 2,s leax _TheShips,x ldd #20 std ,--s leay 4,u pshs y jsr _memcpy ldy 6,s leax _TheMissiles,y ldd #20 std ,--s leay 24,u pshs y jsr _memcpy leas 8,s L147: leax ,u jsr _gFree64 L144: ldb _gKern+5 bne L148 bra L149 L146: ldb ,x beq L150 decb stb ,x L150: leax 20,x cmpx #_TheShips+91 ;cmphi: bne L146 ldx #_TheMissiles+11 L152: ldb ,x beq L151 decb stb ,x L151: leax 20,x cmpx #_TheMissiles+91 ;cmphi: bne L152 ldd 8,s addd #1 L166: std 8,s ldb _gKern+5 lbne L153 leas 13,s puls y,u,pc .area .text.entry __n1pre_entry: .byte 126 .word _main .area .final __n1pre_final: .word -20754 .area .final.setup __n1pre_final_startup: .word -20753 .area .data.more _TheShips: zmb 80 ;skip space .area .text _AccelR: .word 40 .word 32 .word 24 .word 8 .word 0 .word -8 .word -24 .word -32 .word -40 .word -32 .word -24 .word -8 .word 0 .word 8 .word 24 .word 32 _AccelS: .word 0 .word 8 .word 24 .word 32 .word 40 .word 32 .word 24 .word 8 .word 0 .word -8 .word -24 .word -32 .word -40 .word -32 .word -24 .word -8 .area .data.more _TheMissiles: zmb 80 ;skip space _displayed_score: zmb 8 ;skip space .area .bss _send_me: .blkb 64 .area .text _Gravity: .byte 0 .byte 14 .byte 0 .byte 10 .byte 0 .byte 15 .byte 0 .byte 12 .byte 0 .byte 15 .byte 0 .byte 13 .byte 0 .byte 16 .byte 0 .byte 15 .byte 0 .byte 17 .byte 0 .byte 17 .byte 0 .byte 18 .byte 0 .byte 19 .byte 0 .byte 18 .byte 0 .byte 22 .byte 0 .byte 19 .byte 0 .byte 25 .byte 0 .byte 19 .byte 0 .byte 28 .byte 0 .byte 19 .byte 0 .byte 32 .byte 0 .byte 18 .byte 0 .byte 37 .byte 0 .byte 17 .byte 0 .byte 41 .byte 0 .byte 15 .byte 0 .byte 46 .byte 0 .byte 13 .byte 0 .byte 52 .byte 0 .byte 9 .byte 0 .byte 57 .byte 0 .byte 5 .byte 0 .byte 63 .byte 0 .byte 0 .byte 0 .byte 69 .byte 0 .byte 15 .byte 0 .byte 10 .byte 0 .byte 16 .byte 0 .byte 12 .byte 0 .byte 17 .byte 0 .byte 13 .byte 0 .byte 18 .byte 0 .byte 15 .byte 0 .byte 19 .byte 0 .byte 18 .byte 0 .byte 20 .byte 0 .byte 20 .byte 0 .byte 21 .byte 0 .byte 23 .byte 0 .byte 22 .byte 0 .byte 27 .byte 0 .byte 22 .byte 0 .byte 31 .byte 0 .byte 22 .byte 0 .byte 35 .byte 0 .byte 22 .byte 0 .byte 41 .byte 0 .byte 21 .byte 0 .byte 47 .byte 0 .byte 19 .byte 0 .byte 53 .byte 0 .byte 16 .byte 0 .byte 60 .byte 0 .byte 12 .byte 0 .byte 67 .byte 0 .byte 6 .byte 0 .byte 75 .byte 0 .byte 0 .byte 0 .byte 82 .byte 0 .byte 17 .byte 0 .byte 10 .byte 0 .byte 18 .byte 0 .byte 12 .byte 0 .byte 19 .byte 0 .byte 14 .byte 0 .byte 21 .byte 0 .byte 16 .byte 0 .byte 22 .byte 0 .byte 18 .byte 0 .byte 23 .byte 0 .byte 21 .byte 0 .byte 25 .byte 0 .byte 25 .byte 0 .byte 26 .byte 0 .byte 29 .byte 0 .byte 27 .byte 0 .byte 33 .byte 0 .byte 27 .byte 0 .byte 39 .byte 0 .byte 27 .byte 0 .byte 45 .byte 0 .byte 26 .byte 0 .byte 53 .byte 0 .byte 24 .byte 0 .byte 61 .byte 0 .byte 21 .byte 0 .byte 70 .byte 0 .byte 16 .byte 0 .byte 80 .byte 0 .byte 9 .byte 0 .byte 90 .byte 0 .byte 0 .byte 0 .byte 100 .byte 0 .byte 18 .byte 0 .byte 10 .byte 0 .byte 20 .byte 0 .byte 12 .byte 0 .byte 21 .byte 0 .byte 14 .byte 0 .byte 23 .byte 0 .byte 16 .byte 0 .byte 25 .byte 0 .byte 19 .byte 0 .byte 27 .byte 0 .byte 22 .byte 0 .byte 29 .byte 0 .byte 26 .byte 0 .byte 30 .byte 0 .byte 30 .byte 0 .byte 32 .byte 0 .byte 36 .byte 0 .byte 33 .byte 0 .byte 43 .byte 0 .byte 34 .byte 0 .byte 51 .byte 0 .byte 33 .byte 0 .byte 60 .byte 0 .byte 31 .byte 0 .byte 71 .byte 0 .byte 27 .byte 0 .byte 83 .byte 0 .byte 21 .byte 0 .byte 96 .byte 0 .byte 12 .byte 0 .byte 109 .byte 0 .byte 0 .byte 0 .byte 123 .byte 0 .byte 20 .byte 0 .byte 10 .byte 0 .byte 22 .byte 0 .byte 12 .byte 0 .byte 24 .byte 0 .byte 13 .byte 0 .byte 26 .byte 0 .byte 16 .byte 0 .byte 28 .byte 0 .byte 19 .byte 0 .byte 31 .byte 0 .byte 22 .byte 0 .byte 33 .byte 0 .byte 27 .byte 0 .byte 36 .byte 0 .byte 32 .byte 0 .byte 39 .byte 0 .byte 39 .byte 0 .byte 41 .byte 0 .byte 47 .byte 0 .byte 42 .byte 0 .byte 57 .byte 0 .byte 43 .byte 0 .byte 69 .byte 0 .byte 41 .byte 0 .byte 83 .byte 0 .byte 37 .byte 0 .byte 99 .byte 0 .byte 29 .byte 0 .byte 117 .byte 0 .byte 17 .byte 0 .byte -120 .byte 0 .byte 0 .byte 0 .byte -100 .byte 0 .byte 22 .byte 0 .byte 9 .byte 0 .byte 24 .byte 0 .byte 11 .byte 0 .byte 27 .byte 0 .byte 13 .byte 0 .byte 29 .byte 0 .byte 16 .byte 0 .byte 32 .byte 0 .byte 19 .byte 0 .byte 35 .byte 0 .byte 22 .byte 0 .byte 39 .byte 0 .byte 27 .byte 0 .byte 43 .byte 0 .byte 33 .byte 0 .byte 47 .byte 0 .byte 41 .byte 0 .byte 51 .byte 0 .byte 51 .byte 0 .byte 54 .byte 0 .byte 63 .byte 0 .byte 56 .byte 0 .byte 78 .byte 0 .byte 55 .byte 0 .byte 97 .byte 0 .byte 51 .byte 0 .byte 120 .byte 0 .byte 41 .byte 0 .byte -110 .byte 0 .byte 25 .byte 0 .byte -81 .byte 0 .byte 0 .byte 0 .byte -52 .byte 0 .byte 24 .byte 0 .byte 9 .byte 0 .byte 27 .byte 0 .byte 10 .byte 0 .byte 30 .byte 0 .byte 12 .byte 0 .byte 33 .byte 0 .byte 15 .byte 0 .byte 37 .byte 0 .byte 18 .byte 0 .byte 41 .byte 0 .byte 22 .byte 0 .byte 45 .byte 0 .byte 27 .byte 0 .byte 51 .byte 0 .byte 34 .byte 0 .byte 57 .byte 0 .byte 42 .byte 0 .byte 63 .byte 0 .byte 54 .byte 0 .byte 69 .byte 0 .byte 69 .byte 0 .byte 74 .byte 0 .byte 89 .byte 0 .byte 76 .byte 0 .byte 115 .byte 0 .byte 74 .byte 0 .byte -108 .byte 0 .byte 62 .byte 0 .byte -69 .byte 0 .byte 38 .byte 0 .byte -25 .byte 0 .byte 0 .byte 1 .byte 21 .byte 0 .byte 27 .byte 0 .byte 8 .byte 0 .byte 30 .byte 0 .byte 10 .byte 0 .byte 33 .byte 0 .byte 11 .byte 0 .byte 37 .byte 0 .byte 14 .byte 0 .byte 41 .byte 0 .byte 17 .byte 0 .byte 47 .byte 0 .byte 21 .byte 0 .byte 53 .byte 0 .byte 26 .byte 0 .byte 60 .byte 0 .byte 33 .byte 0 .byte 69 .byte 0 .byte 43 .byte 0 .byte 78 .byte 0 .byte 56 .byte 0 .byte 89 .byte 0 .byte 74 .byte 0 .byte 100 .byte 0 .byte 100 .byte 0 .byte 108 .byte 0 .byte -121 .byte 0 .byte 110 .byte 0 .byte -73 .byte 0 .byte 98 .byte 0 .byte -10 .byte 0 .byte 64 .byte 1 .byte 64 .byte 0 .byte 0 .byte 1 .byte -112 .byte 0 .byte 29 .byte 0 .byte 7 .byte 0 .byte 32 .byte 0 .byte 8 .byte 0 .byte 36 .byte 0 .byte 10 .byte 0 .byte 41 .byte 0 .byte 12 .byte 0 .byte 46 .byte 0 .byte 15 .byte 0 .byte 53 .byte 0 .byte 19 .byte 0 .byte 61 .byte 0 .byte 24 .byte 0 .byte 71 .byte 0 .byte 31 .byte 0 .byte 83 .byte 0 .byte 41 .byte 0 .byte 97 .byte 0 .byte 55 .byte 0 .byte 115 .byte 0 .byte 76 .byte 0 .byte -121 .byte 0 .byte 108 .byte 0 .byte -100 .byte 0 .byte -100 .byte 0 .byte -85 .byte 0 .byte -28 .byte 0 .byte -90 .byte 1 .byte 77 .byte 0 .byte 117 .byte 1 .byte -42 .byte 0 .byte 0 .byte 2 .byte 113 .byte 0 .byte 31 .byte 0 .byte 5 .byte 0 .byte 35 .byte 0 .byte 7 .byte 0 .byte 40 .byte 0 .byte 8 .byte 0 .byte 45 .byte 0 .byte 10 .byte 0 .byte 52 .byte 0 .byte 13 .byte 0 .byte 60 .byte 0 .byte 16 .byte 0 .byte 70 .byte 0 .byte 21 .byte 0 .byte 83 .byte 0 .byte 27 .byte 0 .byte 99 .byte 0 .byte 37 .byte 0 .byte 120 .byte 0 .byte 51 .byte 0 .byte -108 .byte 0 .byte 74 .byte 0 .byte -73 .byte 0 .byte 110 .byte 0 .byte -28 .byte 0 .byte -85 .byte 1 .byte 21 .byte 1 .byte 21 .byte 1 .byte 51 .byte 1 .byte -51 .byte 0 .byte -6 .byte 2 .byte -18 .byte 0 .byte 0 .byte 4 .byte 87 .byte 0 .byte 34 .byte 0 .byte 4 .byte 0 .byte 38 .byte 0 .byte 5 .byte 0 .byte 43 .byte 0 .byte 6 .byte 0 .byte 50 .byte 0 .byte 7 .byte 0 .byte 57 .byte 0 .byte 9 .byte 0 .byte 67 .byte 0 .byte 12 .byte 0 .byte 80 .byte 0 .byte 16 .byte 0 .byte 96 .byte 0 .byte 21 .byte 0 .byte 117 .byte 0 .byte 29 .byte 0 .byte -110 .byte 0 .byte 41 .byte 0 .byte -69 .byte 0 .byte 62 .byte 0 .byte -10 .byte 0 .byte 98 .byte 1 .byte 77 .byte 0 .byte -90 .byte 1 .byte -51 .byte 1 .byte 51 .byte 2 .byte 113 .byte 2 .byte 113 .byte 2 .byte -102 .byte 5 .byte 53 .byte 0 .byte 0 .byte 9 .byte -60 .byte 0 .byte 36 .byte 0 .byte 2 .byte 0 .byte 41 .byte 0 .byte 2 .byte 0 .byte 47 .byte 0 .byte 3 .byte 0 .byte 54 .byte 0 .byte 4 .byte 0 .byte 63 .byte 0 .byte 5 .byte 0 .byte 75 .byte 0 .byte 6 .byte 0 .byte 90 .byte 0 .byte 9 .byte 0 .byte 109 .byte 0 .byte 12 .byte 0 .byte -120 .byte 0 .byte 17 .byte 0 .byte -81 .byte 0 .byte 25 .byte 0 .byte -25 .byte 0 .byte 38 .byte 1 .byte 64 .byte 0 .byte 64 .byte 1 .byte -42 .byte 0 .byte 117 .byte 2 .byte -18 .byte 0 .byte -6 .byte 5 .byte 53 .byte 2 .byte -102 .byte 9 .byte -60 .byte 9 .byte -60 .byte 0 .byte 0 .byte 39 .byte 16 .byte 0 .byte 39 .byte 0 .byte 0 .byte 0 .byte 44 .byte 0 .byte 0 .byte 0 .byte 51 .byte 0 .byte 0 .byte 0 .byte 59 .byte 0 .byte 0 .byte 0 .byte 69 .byte 0 .byte 0 .byte 0 .byte 82 .byte 0 .byte 0 .byte 0 .byte 100 .byte 0 .byte 0 .byte 0 .byte 123 .byte 0 .byte 0 .byte 0 .byte -100 .byte 0 .byte 0 .byte 0 .byte -52 .byte 0 .byte 0 .byte 1 .byte 21 .byte 0 .byte 0 .byte 1 .byte -112 .byte 0 .byte 0 .byte 2 .byte 113 .byte 0 .byte 0 .byte 4 .byte 87 .byte 0 .byte 0 .byte 9 .byte -60 .byte 0 .byte 0 .byte 39 .byte 16 .byte 0 .byte 0 .byte 0 .byte 0 .byte 0 .byte 0 .area .data _Digits: .ascii " 0 0 00 00 0 0 1 1 1 1 1 22 2 2 2 22233 " .ascii " 333 333 4 44 4444 4 45555 55 555 666 " .ascii "6666 6666777 7 7 7 78888 88888 88889999 9999" .ascii " 9 9\0" .area .text _CSWTCH.38: .byte 85 .byte -86 _Ships: .byte 0 .byte 0 .byte -4 .byte 0 .byte 3 .byte 0 .byte -4 .byte 0 .byte 0 .byte 0 .byte 0 .byte 0 .byte 63 .byte 0 .byte 0 .byte -64 .byte 63 .byte 0 .byte 0 .byte 0 .byte 0 .byte 0 .byte 15 .byte -64 .byte 0 .byte 48 .byte 15 .byte -64 .byte 0 .byte 0 .byte 0 .byte 0 .byte 3 .byte -16 .byte 0 .byte 12 .byte 3 .byte -16 .byte 0 .byte 0 .byte 0 .byte 0 .byte -1 .byte 0 .byte 12 .byte 0 .byte 48 .byte 0 .byte -64 .byte 0 .byte 0 .byte 0 .byte 63 .byte -64 .byte 3 .byte 0 .byte 12 .byte 0 .byte 48 .byte 0 .byte 0 .byte 0 .byte 15 .byte -16 .byte 0 .byte -64 .byte 3 .byte 0 .byte 12 .byte 0 .byte 0 .byte 0 .byte 3 .byte -4 .byte 0 .byte 48 .byte 0 .byte -64 .byte 3 .byte 0 .byte 0 .byte 0 .byte 15 .byte 0 .byte 51 .byte 0 .byte -52 .byte 0 .byte 48 .byte 0 .byte 0 .byte 0 .byte 3 .byte -64 .byte 12 .byte -64 .byte 51 .byte 0 .byte 12 .byte 0 .byte 0 .byte 0 .byte 0 .byte -16 .byte 3 .byte 48 .byte 12 .byte -64 .byte 3 .byte 0 .byte 0 .byte 0 .byte 0 .byte 60 .byte 0 .byte -52 .byte 3 .byte 48 .byte 0 .byte -64 .byte 0 .byte 0 .byte 3 .byte 0 .byte 15 .byte 0 .byte 51 .byte 0 .byte -61 .byte 0 .byte 0 .byte 0 .byte 0 .byte -64 .byte 3 .byte -64 .byte 12 .byte -64 .byte 48 .byte -64 .byte 0 .byte 0 .byte 0 .byte 48 .byte 0 .byte -16 .byte 3 .byte 48 .byte 12 .byte 48 .byte 0 .byte 0 .byte 0 .byte 12 .byte 0 .byte 60 .byte 0 .byte -52 .byte 3 .byte 12 .byte 0 .byte 0 .byte 12 .byte 0 .byte 51 .byte 0 .byte 51 .byte 0 .byte 51 .byte 0 .byte 0 .byte 0 .byte 3 .byte 0 .byte 12 .byte -64 .byte 12 .byte -64 .byte 12 .byte -64 .byte 0 .byte 0 .byte 0 .byte -64 .byte 3 .byte 48 .byte 3 .byte 48 .byte 3 .byte 48 .byte 0 .byte 0 .byte 0 .byte 48 .byte 0 .byte -52 .byte 0 .byte -52 .byte 0 .byte -52 .byte 0 .byte 0 .byte 48 .byte 0 .byte 60 .byte 0 .byte 51 .byte 0 .byte 48 .byte -64 .byte 0 .byte 0 .byte 12 .byte 0 .byte 15 .byte 0 .byte 12 .byte -64 .byte 12 .byte 48 .byte 0 .byte 0 .byte 3 .byte 0 .byte 3 .byte -64 .byte 3 .byte 48 .byte 3 .byte 12 .byte 0 .byte 0 .byte 0 .byte -64 .byte 0 .byte -16 .byte 0 .byte -52 .byte 0 .byte -61 .byte 0 .byte 0 .byte 60 .byte 0 .byte 51 .byte 0 .byte 12 .byte -64 .byte 3 .byte 0 .byte 0 .byte 0 .byte 15 .byte 0 .byte 12 .byte -64 .byte 3 .byte 48 .byte 0 .byte -64 .byte 0 .byte 0 .byte 3 .byte -64 .byte 3 .byte 48 .byte 0 .byte -52 .byte 0 .byte 48 .byte 0 .byte 0 .byte 0 .byte -16 .byte 0 .byte -52 .byte 0 .byte 51 .byte 0 .byte 12 .byte 0 .byte 0 .byte 63 .byte -64 .byte 12 .byte 0 .byte 3 .byte 0 .byte 0 .byte -64 .byte 0 .byte 0 .byte 15 .byte -16 .byte 3 .byte 0 .byte 0 .byte -64 .byte 0 .byte 48 .byte 0 .byte 0 .byte 3 .byte -4 .byte 0 .byte -64 .byte 0 .byte 48 .byte 0 .byte 12 .byte 0 .byte 0 .byte 0 .byte -1 .byte 0 .byte 48 .byte 0 .byte 12 .byte 0 .byte 3 .byte 0 .byte 0 .byte 15 .byte -64 .byte 48 .byte 0 .byte 15 .byte -64 .byte 0 .byte 0 .byte 0 .byte 0 .byte 3 .byte -16 .byte 12 .byte 0 .byte 3 .byte -16 .byte 0 .byte 0 .byte 0 .byte 0 .byte 0 .byte -4 .byte 3 .byte 0 .byte 0 .byte -4 .byte 0 .byte 0 .byte 0 .byte 0 .byte 0 .byte 63 .byte 0 .byte -64 .byte 0 .byte 63 .byte 0 .byte 0 .byte 0 .byte -64 .byte 3 .byte 0 .byte 12 .byte 0 .byte 63 .byte -64 .byte 0 .byte 0 .byte 0 .byte 48 .byte 0 .byte -64 .byte 3 .byte 0 .byte 15 .byte -16 .byte 0 .byte 0 .byte 0 .byte 12 .byte 0 .byte 48 .byte 0 .byte -64 .byte 3 .byte -4 .byte 0 .byte 0 .byte 0 .byte 3 .byte 0 .byte 12 .byte 0 .byte 48 .byte 0 .byte -1 .byte 0 .byte 0 .byte 3 .byte 0 .byte 12 .byte -64 .byte 51 .byte 0 .byte 60 .byte 0 .byte 0 .byte 0 .byte 0 .byte -64 .byte 3 .byte 48 .byte 12 .byte -64 .byte 15 .byte 0 .byte 0 .byte 0 .byte 0 .byte 48 .byte 0 .byte -52 .byte 3 .byte 48 .byte 3 .byte -64 .byte 0 .byte 0 .byte 0 .byte 12 .byte 0 .byte 51 .byte 0 .byte -52 .byte 0 .byte -16 .byte 0 .byte 0 .byte 48 .byte -64 .byte 51 .byte 0 .byte 60 .byte 0 .byte 48 .byte 0 .byte 0 .byte 0 .byte 12 .byte 48 .byte 12 .byte -64 .byte 15 .byte 0 .byte 12 .byte 0 .byte 0 .byte 0 .byte 3 .byte 12 .byte 3 .byte 48 .byte 3 .byte -64 .byte 3 .byte 0 .byte 0 .byte 0 .byte 0 .byte -61 .byte 0 .byte -52 .byte 0 .byte -16 .byte 0 .byte -64 .byte 0 .byte 0 .byte 51 .byte 0 .byte 51 .byte 0 .byte 51 .byte 0 .byte 12 .byte 0 .byte 0 .byte 0 .byte 12 .byte -64 .byte 12 .byte -64 .byte 12 .byte -64 .byte 3 .byte 0 .byte 0 .byte 0 .byte 3 .byte 48 .byte 3 .byte 48 .byte 3 .byte 48 .byte 0 .byte -64 .byte 0 .byte 0 .byte 0 .byte -52 .byte 0 .byte -52 .byte 0 .byte -52 .byte 0 .byte 48 .byte 0 .byte 0 .byte -61 .byte 0 .byte 51 .byte 0 .byte 15 .byte 0 .byte 3 .byte 0 .byte 0 .byte 0 .byte 48 .byte -64 .byte 12 .byte -64 .byte 3 .byte -64 .byte 0 .byte -64 .byte 0 .byte 0 .byte 12 .byte 48 .byte 3 .byte 48 .byte 0 .byte -16 .byte 0 .byte 48 .byte 0 .byte 0 .byte 3 .byte 12 .byte 0 .byte -52 .byte 0 .byte 60 .byte 0 .byte 12 .byte 0 .byte 0 .byte 48 .byte 0 .byte -52 .byte 0 .byte 51 .byte 0 .byte 15 .byte 0 .byte 0 .byte 0 .byte 12 .byte 0 .byte 51 .byte 0 .byte 12 .byte -64 .byte 3 .byte -64 .byte 0 .byte 0 .byte 3 .byte 0 .byte 12 .byte -64 .byte 3 .byte 48 .byte 0 .byte -16 .byte 0 .byte 0 .byte 0 .byte -64 .byte 3 .byte 48 .byte 0 .byte -52 .byte 0 .byte 60 .byte 0 .byte 0 .byte -64 .byte 0 .byte 48 .byte 0 .byte 12 .byte 0 .byte -1 .byte 0 .byte 0 .byte 0 .byte 48 .byte 0 .byte 12 .byte 0 .byte 3 .byte 0 .byte 63 .byte -64 .byte 0 .byte 0 .byte 12 .byte 0 .byte 3 .byte 0 .byte 0 .byte -64 .byte 15 .byte -16 .byte 0 .byte 0 .byte 3 .byte 0 .byte 0 .byte -64 .byte 0 .byte 48 .byte 3 .byte -4 .byte 0 .byte 0 .area .absolute .globl _gAlloc64 _gAlloc64 EQU $0D9B .globl _gConfig _gConfig EQU $0607 .globl _gFatal _gFatal EQU $0ABC .globl _gFatalFIRQ _gFatalFIRQ EQU $0B5F .globl _gFatalNMI _gFatalNMI EQU $0B75 .globl _gFatalSWI1 _gFatalSWI1 EQU $0BB9 .globl _gFatalSWI2 _gFatalSWI2 EQU $0BA3 .globl _gFatalSWI3 _gFatalSWI3 EQU $0B8C .globl _gFree64 _gFree64 EQU $07AC .globl _gIrqRestore _gIrqRestore EQU $07A1 .globl _gIrqSaveAndDisable _gIrqSaveAndDisable EQU $0794 .globl _gKern _gKern EQU $0046 .globl _gModeScreen _gModeScreen EQU $0A85 .globl _gNetworkLog _gNetworkLog EQU $0CA3 .globl _gPMode1Screen _gPMode1Screen EQU $0A6A .globl _gReal _gReal EQU $0022 .globl _gReceiveCast64 _gReceiveCast64 EQU $084B .globl _gScore _gScore EQU $060B .globl _gSendCast _gSendCast EQU $0CD6 .globl _gTextScreen _gTextScreen EQU $09A8 .globl _gWall _gWall EQU $0026 .globl _memcpy _memcpy EQU $08C1 .globl _memcpy_words _memcpy_words EQU $0868 .globl _memset _memset EQU $089B .globl _memset_words _memset_words EQU $0880 .globl _strlen _strlen EQU $08E3 .globl _xAfterSetup _xAfterSetup EQU $07CC .globl _xSendControlPacket _xSendControlPacket EQU $0CBC