?login_element?

Subversion Repositories NedoOS

Rev

Rev 2007 | Blame | Compare with Previous | Last modification | View Log | Download

  1. ;******************************** MSX *********************************************
  2. TCP_BUF_SIZE=1024
  3.     output "mrfmsx.com"
  4.     org 100h
  5. asmOrg:
  6.     jp start
  7.     include "vdp/vdpdriver.asm"
  8.     include "utils/index.asm"
  9.     include "gopher/render/index.asm"
  10.     include "dos/msxdos.asm"
  11.     include "gopher/engine/history/index.asm"
  12.     include "gopher/engine/urlencoder.asm"
  13.     include "gopher/engine/fetcher.asm"
  14.     include "gopher/engine/media-processor.asm"
  15.     include "drivers/index.asm"
  16.     include "gopher/msxgopher.asm"
  17.     include "screen/msxscreen.asm"
  18.     include "player/vortex-processor.asm"
  19.     include "player/mod-processor.asm"
  20.     include "screen/rtc.asm"
  21. fontName db "font.bin",0
  22. start:
  23.     ld hl,(0x0006)
  24.     ld bc,outputBuffer
  25.     sbc hl,bc
  26.     ld bc, 0x100
  27.     sbc hl,bc
  28.     ld (ramtop),hl
  29.  
  30.     call TcpIP.init : jp nc, noTcpIP ; No TCP/IP - no browser! Anyway you can use "useless tcp/ip driver"
  31.     call TextMode.loadFont
  32.     call TextMode.init
  33.     call History.home
  34.     jp exit
  35. noTcpIP:
  36.     ld hl, .err
  37.     call Console.putStringZ
  38.     rst 0
  39. .err db 13,10,"No TCP/IP implementation found!",13,10,0
  40. ramtop:
  41.     db 0x00, 0xD0
  42. outputBuffer:
  43. font:
  44.     display "ENDS: ", $
  45.     display "Buff size: ", #D000 - $  ;ramtop