Search found 5 matches

by Retro
Sun Jan 09, 2011 9:14 am
Forum: Programming
Topic: Native Development on Small PCs
Replies: 14
Views: 42419

Re: Native Development on Small PCs

Ok, here's my preferences...

Editor: Terse
Compiler/Assembler: ForthCMP
Debugger: DOS Debug is all you need :P
by Retro
Fri Jan 07, 2011 2:14 pm
Forum: Programming
Topic: Sound bits
Replies: 26
Views: 72058

Re: Sound bits

For comparison, here's a Forth version of Vorticon's TSOUND program. 100 MSDOS : MAIN 130 C@ 32 OR [CHAR] s = IF 13 ." SPEAKER NOW ACTIVE..." ELSE 125 ." TANDY SOUND NOW ACTIVE..." THEN 97 PC! CR ; INCLUDE FORTHLIB END Compiling it with ForthCMP 2.30S yields a COM executable of 1...
by Retro
Thu Jan 06, 2011 11:56 pm
Forum: Programming
Topic: COM memory arena?
Replies: 2
Views: 14881

Re: COM memory arena?

Hi, so did you make any progress with this? Sounds interesting. As I understand it, DOS allocates all available memory to a COM program because it has no idea how much the program will actually need. So the simple answer to your question would be "yes". Any other drivers or TSRs already lo...
by Retro
Thu Jan 06, 2011 5:26 pm
Forum: Programming
Topic: Turbo Pascal 3
Replies: 7
Views: 24324

Re: Turbo Pascal 3

Or you could use inline machine code, which would be more efficient than intr() procedure GetKey (var Key, Ekey: Char); begin inline ($31/$c0/ { xor ax,ax } $cd/$16/ { int 16h } $c4/$be/Key/ { les di,Key[bp] } $88/$05/ { mov [di],al } $c4/$be/Ekey/ { les di,Ekey[bp] } $88/$25) { mov [di],ah } end;
by Retro
Sun Jan 02, 2011 11:59 pm
Forum: Programming
Topic: Microsoft Macro Assembler 1.0
Replies: 17
Views: 61038

Re: Microsoft Macro Assembler 1.0

I still use Masm 1.2 ;)
Eschew bloatware!