?login_element?

Subversion Repositories NedoOS

Rev

Rev 1995 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download

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