Subversion Repositories Spectranet

[/] [trunk/] [rom/] [utilrom.asm] - Blame information for rev 288

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 73 winston
;The MIT License
2
;
3
;Copyright (c) 2008 Dylan Smith
4
;
5
;Permission is hereby granted, free of charge, to any person obtaining a copy
6
;of this software and associated documentation files (the "Software"), to deal
7
;in the Software without restriction, including without limitation the rights
8
;to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
;copies of the Software, and to permit persons to whom the Software is
10
;furnished to do so, subject to the following conditions:
11
;
12
;The above copyright notice and this permission notice shall be included in
13
;all copies or substantial portions of the Software.
14
;
15
;THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
;IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
;FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
;AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
;LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
;OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
;THE SOFTWARE.
22
 
23
; The Utility ROM
24
 
25
; These routines live in page 1 of flash, and run when page 1 is paged
26
; into paging area B (0x2000-0x2FFF)
27
 
28
        org 0x2000
29 93 winston
        include "spectranet.asm"
30 89 winston
 
31 93 winston
; temporary!
32 89 winston
        define SOCK_DGRAM 2
33 117 winston
        define SOCK_STREAM 1
34 229 winston
UTILROM equ     0x02                    ; ROM page number
35 89 winston
 
36
        org 0x2000
37 163 winston
        include "utilromvectors.asm"    ; utility ROM vector table
38 267 winston
;       include "inetinit.asm"          ; Initializes inet settings
39 229 winston
        include "utility_impl.asm"      ; Utility functions
40 267 winston
;       include "dhcpclient.asm"        ; DHCP client
41 97 winston
        include "utilnmi.asm"           ; NMI handler
42 160 winston
        include "utilnmi_en.asm"        ; English string table
43 89 winston
        include "dhcpdefs.asm"
44 93 winston
        include "sockdefs.asm"
45 210 winston
;       include "sysvars.sym"           ; now dragged in by datarom.sym
46 117 winston
        include "ui_menu.asm"           ; simple menu generator
47 169 winston
        include "datarom.sym"           ; Datarom symbol file
48 73 winston
 
49 89 winston
;fwstart
50
;       incbin "flashwrite.out"         ; this gets LDIR'd to RAM
51
;fwend
52 73 winston