dos_compilers/DX-FORTH v430/DOSLIB.SCR

1 line
59 KiB
Plaintext
Raw Permalink Normal View History

2024-07-09 18:07:02 +02:00
\ Information NEWAPP is a skeletal program that allows users to quickly develop a DOS application. It provides often needed tasks including error handling, command-line parsing, file operations, buffered I/O, help screen, number and string functions. NEWAPP comprises two parts: NEWAPP.SCR skeletal application program DOSLIB.SCR function support library \ Module loader cr .( DOSLIB 2017-01-18 ) cr base @ sys @ decimal system -? loadfile -path 2constant lib -? : MODULE 2constant does> 2@ lib loaded ; 2 load behead lib module sys ! base ! \ Module directory - NEWAPP support 5 6 module _Errors \ error handler 7 dup module _Inout1 \ number output 8 dup module _Inout2 \ string & number input 9 dup module _Compare1 \ basic compare 10 12 module _String1 \ basic strings 13 dup module _String2 \ extra strings 14 19 module _Parsing1 \ command-line parsing 20 dup module _Parsing2 \ command-line parsing 21 23 module _Fileprims \ file primitives 24 32 module _Files \ default files 33 dup module _Bufinfile \ buffered input file 34 dup module _Bufoutfile \ buffered output file 35 dup module _Dos1 \ dosver dta 36 dup module _Dos2 \ ctl-brk int --> \ Module directory - DOS & misc 37 dup module _Disk \ disk 38 dup module _Memory \ memory allocate 39 40 module _Timedate1 \ time/date 41 dup module _Timedate2 \ time/date 42 dup module _Timepack \ time/date packing 43 dup module _Filematch \ file find first/next 44 dup module _Filestamp \ file stamp/attribute 45 dup module _Diskdir \ directory 46 dup module _Env \ environment 47 49 module _Exec \ exec prog/command 50 51 module _Video1 \ textcolor attrib cursor 52 dup module _Video2 \ mode page -->