mirror of https://github.com/zxdos/zxuno.git
41 lines
788 B
NASM
41 lines
788 B
NASM
DEVICE ZXSPECTRUM48
|
|
org 24100
|
|
Start:
|
|
call renderHeader
|
|
ld hl, connecting_wifi
|
|
call printZ64
|
|
call initWifi
|
|
jp showPage
|
|
wSec: ld b, 50
|
|
wsLp halt
|
|
djnz wsLp
|
|
|
|
include "screen64.asm"
|
|
include "keyboard.asm"
|
|
include "utils.asm"
|
|
include "wifi.asm"
|
|
include "gopher.asm"
|
|
include "render.asm"
|
|
include "textrender.asm"
|
|
include "uart.asm"
|
|
include "ring.asm"
|
|
include "esxdos.asm"
|
|
|
|
connecting_wifi db 13, ' Connecting to WiFi', 13, 0
|
|
open_lbl db 'Opening connection to ', 0
|
|
|
|
path db '/'
|
|
defs 69
|
|
server db 'nihirash.net'
|
|
defs 58
|
|
port db '70'
|
|
defs 5
|
|
|
|
data_buff defs 255
|
|
page_buffer
|
|
incbin "index.pg"
|
|
db 0
|
|
eop equ $
|
|
display $
|
|
SAVEBIN "ugoph.bin", Start, eop-Start
|