Changeset 25
- Timestamp:
- 08/02/09 01:32:07 (3 years ago)
- Location:
- trunk
- Files:
-
- 2 modified
-
includes/os2.inc (modified) (1 diff)
-
page1C/silentlink.asm (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/includes/os2.inc
r24 r25 84 84 ; 85 85 ioData EQU 867Dh 86 ; 87 ioOP1 EQU 867Fh ;where variable type and name typically is in a link packet 86 88 ; 87 89 ioNewData EQU 8689h -
trunk/page1C/silentlink.asm
r24 r25 14 14 call NZIf83Plus 15 15 jr nz,$F 16 ld b,a17 ld a,(9CAFh)18 or a19 ld a,b20 jr nz,keyscnlnk121 16 $$: call CheckLinkLines 22 17 jr nz,eiRet 23 keyscnlnk1:24 18 ld a,(ioErrState) 25 19 push af … … 28 22 ld a,(ioFlag) 29 23 push af 24 ;I haven't decided on what to do with this stuff yet. 30 25 ld hl,ioFlag 31 26 res 1,(hl) … … 39 34 call APP_PUSH_ERRORH 40 35 set indicOnly,(iy+indicFlags) 41 in a,(2) 42 and 80h 43 jr z,$F 44 ld a,(9CAFh) 45 or a 46 jr z,$F 47 dec a 48 ld (9CAFh),a 49 ld a,(9CB2h) 50 ld de,9CB2h 51 ld hl,9CB3h 52 ld bc,15 53 ldir 54 cp 41h 55 jr nz,keyscnlnkEnd 56 xor a 57 ld (9CAFh),a 58 ld a,(9CB2h) 59 jr kscnlnkGet3Bytes 60 $$: ld a,(ioData) 36 ld a,(ioData) 61 37 call ContinueGetByte 62 bit 5,(iy+3Dh)63 jr z,kscnlnkGet3Bytes64 in a,(2)65 and 80h66 jr z,keyscnlnkEnd67 $$: in a,(9)68 and 19h69 jr z,disableLAEnd70 ld a,(9CAFh)71 cp 1572 jr nc,keyscnlnkEnd73 inc a74 ld (9CAFh),a75 call ContinueGetByte76 ld hl,9CAFh77 ld e,(hl)78 ld d,079 ld hl,9CB1h80 add hl,de81 bit 5,(iy+3Dh)82 jr nz,kscnlnkContinue83 ld b,a84 ld a,41h85 ld (hl),a86 inc hl87 ld a,b88 ld (hl),a89 jr keyscnlnkEnd90 kscnlnkContinue:91 ld (hl),a92 jr $B93 kscnlnkGet3Bytes:94 38 call Get3Bytes 95 39 ld hl,cmdTable … … 102 46 inc hl 103 47 djnz $B 48 ;This is a command we don't recognize 49 ;TODO: for now, freak out 104 50 ld a,(header+1) 105 51 call DispHexA … … 154 100 receivedVariableHeader: 155 101 call ReceiveHeaderPacket 156 ld a,( 867Fh)102 ld a,(ioOP1) 157 103 cp 23h 158 104 jr z,receivingOS 105 ;Not accepting anything else for now 159 106 ld de,1 160 107 ld a,0Ch … … 170 117 B_CALL MD5Init 171 118 B_CALL ReceiveOS 119 ;We never return from this 172 120 173 121 sendInfoPacket:
