?login_element?

Subversion Repositories NedoOS

Rev

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

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