mirror of
https://github.com/bobbimanners/emailler.git
synced 2025-02-07 14:30:53 +00:00
Added support for the C128.
Those two drivers are used by Contiki for the C128 - and we want to keep the driver sources identical.
This commit is contained in:
parent
757d360925
commit
023c87fc03
@ -44,6 +44,9 @@ mac: .byte $00, $0E, $3A ; OUI of Cirrus Logic
|
||||
.ifdef __C64__
|
||||
.byte $64, $64, $64
|
||||
.endif
|
||||
.ifdef __C128__
|
||||
.byte $28, $28, $28
|
||||
.endif
|
||||
.ifdef __APPLE2__
|
||||
.byte $A2, $A2, $A2
|
||||
.endif
|
||||
@ -97,7 +100,7 @@ rrnet: .byte $28, $CD, $4C ; OUI of Individual Computers
|
||||
|
||||
;---------------------------------------------------------------------
|
||||
|
||||
.ifdef __C64__
|
||||
.if .defined (__C64__) .or .defined (__C128__)
|
||||
rxtxreg := $DE08
|
||||
txcmd := $DE0C
|
||||
txlen := $DE0E
|
||||
|
@ -45,6 +45,9 @@ mac: .byte $00, $80, $0F ; OUI of Standard Microsystems
|
||||
.ifdef __C64__
|
||||
.byte $64, $64, $64
|
||||
.endif
|
||||
.ifdef __C128__
|
||||
.byte $28, $28, $28
|
||||
.endif
|
||||
.ifdef __APPLE2__
|
||||
.byte $A2, $A2, $A2
|
||||
.endif
|
||||
@ -80,7 +83,7 @@ len := ptr3 ; Frame length
|
||||
|
||||
;=====================================================================
|
||||
|
||||
.ifdef __C64__
|
||||
.if .defined (__C64__) .or .defined (__C128__)
|
||||
|
||||
ethbsr := $DE0E ; Bank select register R/W (2B)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user