mirror of
https://github.com/bobbimanners/emailler.git
synced 2024-11-18 21:07:03 +00:00
e06c02e4a3
* CS8900A The Contiki driver allows to adjust the chip base addr at runtime (which allows to support different slots in the Apple II) and removes received frames from the chip if there's no room to send frames. * LAN91C96 The Contiki driver was used by IP65 more or less unchanged in the first place. * W5100 The Contiki driver allows to adjust the chip base addr at runtime (which allows to support different slots in the Apple II) and stays clear from the W5100 hybrid mode. It presumes a fully functional W5100 register auto-increment and pre-calculates necessary W5100 frame buffer wrap-arounds and thus achieves the maximal 6502 <-> W5100 transfer speed.
41 lines
1014 B
ArmAsm
41 lines
1014 B
ArmAsm
; RR-Net driver, as seen on a VIC-20 (i.e. using a Masquerade adapter)
|
|
|
|
.import _cs8900a
|
|
|
|
.export eth = _cs8900a
|
|
.export eth_driver_name
|
|
.export eth_driver_io_base
|
|
|
|
|
|
.rodata
|
|
|
|
eth_driver_name:
|
|
.asciiz "VIC20 RR-Net"
|
|
|
|
|
|
.data
|
|
|
|
eth_driver_io_base:
|
|
.word $9808
|
|
|
|
|
|
|
|
; -- LICENSE FOR vic20-rr-net.s --
|
|
; The contents of this file are subject to the Mozilla Public License
|
|
; Version 1.1 (the "License"); you may not use this file except in
|
|
; compliance with the License. You may obtain a copy of the License at
|
|
; http://www.mozilla.org/MPL/
|
|
;
|
|
; Software distributed under the License is distributed on an "AS IS"
|
|
; basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
|
|
; License for the specific language governing rights and limitations
|
|
; under the License.
|
|
;
|
|
; The Original Code is ip65.
|
|
;
|
|
; The Initial Developer of the Original Code is Jonno Downes,
|
|
; jonno@jamtronix.com.
|
|
; Portions created by the Initial Developer are Copyright (C) 2009
|
|
; Jonno Downes. All Rights Reserved.
|
|
; -- LICENSE END --
|