We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d66afd0 commit 5fb3affCopy full SHA for 5fb3aff
src/00/link.asm
@@ -161,6 +161,9 @@ _:
161
;; will end in tears.
162
ioSendPacket:
163
push bc
164
+ push af
165
+ ld a,i
166
+ di
167
push af
168
; io_tx_header_ix is 0xFF when ready to send
169
ld a, (io_tx_header_ix)
@@ -196,11 +199,19 @@ _: ld (io_tx_header), de
196
199
out (PORT_LINK_ASSIST_ENABLE), a
197
200
pop de
198
201
pop hl
202
+ pop af
203
+ jp po, _
204
+ ei
205
+_:
206
pop af
207
pop bc
208
cp a
209
ret
210
.abort:
211
212
213
214
215
pop af \ ld b, a \ or 1 \ ld a, b
216
pop bc \ ret ; Packet in progress, GTFO
217
0 commit comments