Rev 20 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download
;startupFCB1=0x4800 ;aligned ;len=0x0200*filesDOSBUF=0xff00 ;alignedorg 0x6000;pop hl;push hl;ld a,h;cp 0x3d;jr nz,start.;ld hl,start.;ld (23834),hl ;рфЁхё чряєёър;ld hl,467 ;т√їюф (шэрўх тючтЁрЄ т схщёшъ яюёых RUN "..." CODE эхтючьюцхэ);push hl;jp 0x3d2f ;call in DOS;start.call tokinitld hl,fnbuf.ld (tokenize.fn),hlld hl,(23645) ;CH_ADDld b,1;bc,256ld a,234 ;REM;cpirdb 0xed,0xb1loop.dec hlld de,fnbuf.-1l0.inc hlinc deld a,(hl)ld (de),acp ' '+1jr nc,l0. ;read until space or CRxor ald (de),a ;'\0'push hlcall tokenizepop hlld a,(hl)cp 0x0d ;CRinc hljr nz,loop.call tokenize_end;ld hl,10072;exxretinclude "../_sdk/read.ast"include "token.ast"include "tokenz80.ast"include "../_sdk/lib.i"include "../_sdk/io.i"include "../_sdk/str.i"include "../_sdk/io.ast"fnbuf.db "12345678.123 "ds 50 ;for long filenamesinclude "../_sdk/io.var"include "../_sdk/read.var"include "../_sdk/fmttg.var"include "token.var"include "tokenz80.var"