LANceGS driver fix

git-svn-id: http://svn.code.sf.net/p/netboot65/code@308 93682198-c243-4bdb-bd91-e943c89aac3b
This commit is contained in:
jonnosan 2011-01-20 18:17:48 +00:00
parent 301dc60728
commit fc06b78cff

View File

@ -1,4 +1,7 @@
; Ethernet driver for SMC LAN91C96 chip
;
@ -61,7 +64,7 @@ ethercv := $c00C ; Early RCV register R/W (2B)
eth_packet: .res 2
.data ;can't be in "code" segment, because that may end up in ROM.
.data
;initialize the ethernet adaptor
;inputs: none
@ -336,6 +339,7 @@ fixlan37:
;
lan_self_modify:
lda #$C0 ; FIXME - hardcoded to slot 4
clc ; We'll be adding later, so clear carry
; Make the accumulator contain slot number plus $80
; i.e. Slot 1 = $90
; i.e. Slot 2 = $A0
@ -456,4 +460,3 @@ eth_driver_name:
; Portions created by the Initial Developer is Copyright (C) 2011
; All Rights Reserved.
; -- LICENSE END --