mirror of
https://github.com/bobbimanners/emailler.git
synced 2024-11-17 15:07:30 +00:00
62 lines
3.1 KiB
HTML
62 lines
3.1 KiB
HTML
<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"/><link rel="stylesheet" type="text/css" href="ca65-doc-style.css"/></head><body><a href="ref_index.html"><h1>ip65 technical reference</h1></a><h1>File : drivers/vic20-rr-net.s</h1><pre> RR-Net driver, as seen on a VIC-20 (i.e. using a MasC=uerade adapter)
|
|
</pre><h2 id="functions">functions</h2><table><tr><th>function</th><th>description</th></tr><tr><td id="cs_init">cs_init</td><td><pre>initialise Retro Replay so we can access the network adapter
|
|
inputs: none
|
|
outputs: none
|
|
</pre></td></tr></table><h2 id="constants">constants</h2><table><tr><th>constants</th><th>description</th><th>value</th></tr><tr><td id="cs_packet_data">cs_packet_data</td><td>address of 'packet data' port on RR-Net
|
|
</td><td>$9804</td></tr><tr><td id="cs_packet_page">cs_packet_page</td><td>address of 'packet page' port on RR-Net
|
|
</td><td>$9802 </td></tr><tr><td id="cs_rxtx_data">cs_rxtx_data</td><td>address of 'recieve/transmit data' port on RR-Net
|
|
</td><td>$9808 </td></tr><tr><td id="cs_tx_cmd">cs_tx_cmd</td><td>address of 'transmit command' port on RR-Net
|
|
</td><td>$980c</td></tr><tr><td id="cs_tx_len">cs_tx_len</td><td>address of 'transmission length' port on RR-Net
|
|
</td><td>$980e</td></tr><tr><td id="eth_driver_io_base">eth_driver_io_base</td><td></td><td></td></tr><tr><td id="eth_driver_name">eth_driver_name</td><td></td><td>"VIC20 RR-NET"
|
|
</td></tr></table><h2>implementation</h2><pre id="code">; RR-Net driver, as seen on a VIC-20 (i.e. using a MasC=uerade adapter)
|
|
|
|
|
|
.export cs_init
|
|
|
|
.export cs_packet_page
|
|
.export cs_packet_data
|
|
.export cs_rxtx_data
|
|
.export cs_tx_cmd
|
|
.export cs_tx_len
|
|
.export eth_driver_name
|
|
.export eth_driver_io_base
|
|
|
|
rr_ctl = $9801 ;address of 'control' port on Retro-Replay
|
|
cs_packet_page = $9802 ;address of 'packet page' port on RR-Net
|
|
cs_packet_data = $9804;address of 'packet data' port on RR-Net
|
|
cs_rxtx_data = $9808 ;address of 'recieve/transmit data' port on RR-Net
|
|
cs_tx_cmd = $980c;address of 'transmit command' port on RR-Net
|
|
cs_tx_len = $980e;address of 'transmission length' port on RR-Net
|
|
|
|
|
|
.code
|
|
|
|
;initialise Retro Replay so we can access the network adapter
|
|
;inputs: none
|
|
;outputs: none
|
|
cs_init:
|
|
lda rr_ctl
|
|
ora #1
|
|
sta rr_ctl
|
|
rts
|
|
|
|
.rodata
|
|
eth_driver_name:
|
|
.asciiz "VIC20 RR-NET"
|
|
eth_driver_io_base:
|
|
.word rr_ctl-1
|
|
|
|
|
|
;-- 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 --
|
|
</pre></body></html> |