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:
Oliver Schmidt 2019-05-08 17:16:39 +02:00
parent 757d360925
commit 023c87fc03
2 changed files with 8 additions and 2 deletions

View File

@ -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

View File

@ -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)