]> git.sesse.net Git - pistorm/blobdiff - a314/software-amiga/ethernet_pistorm/romtag.asm
Adapt a314eth to work on PiStorm + A314 emulation
[pistorm] / a314 / software-amiga / ethernet_pistorm / romtag.asm
diff --git a/a314/software-amiga/ethernet_pistorm/romtag.asm b/a314/software-amiga/ethernet_pistorm/romtag.asm
new file mode 100644 (file)
index 0000000..0b8b52b
--- /dev/null
@@ -0,0 +1,33 @@
+       XDEF    _device_process_seglist
+       XREF    _device_process_run
+
+RTC_MATCHWORD: equ     $4afc
+RTF_AUTOINIT:  equ     (1<<7)
+NT_DEVICE:     equ     3
+VERSION:       equ     1
+PRIORITY:      equ     0
+
+               section code,code
+
+               moveq   #-1,d0
+               rts
+
+romtag:
+               dc.w    RTC_MATCHWORD
+               dc.l    romtag
+               dc.l    endcode
+               dc.b    RTF_AUTOINIT
+               dc.b    VERSION
+               dc.b    NT_DEVICE
+               dc.b    PRIORITY
+               dc.l    _device_name
+               dc.l    _id_string
+               dc.l    _auto_init_tables
+endcode:
+
+               cnop    0,4
+
+               dc.l    16
+_device_process_seglist:
+               dc.l    0
+               jmp     _device_process_run