Page 1 of 1

Problems with fasasm

Posted: Mon May 09, 2005 11:00 pm
by ZOSdever
A friend of mine had this problem.


The problem:
I have a sector loading function implemented, that takes a sector and loads it to 0x2000:0x0000. The problem is asking the user what sector to load. Currently Protonix does not support string input. It uses single-character input through the Int 0x22 getchar function. This presents a problem when asking the user for a sector number, as we are limited to 0-9 as possible responses. I really don't want to implement a full-blown string input handler, as this would take up alot of space.

Can anybody solve this without using string input?
OR
Does anybody know of a string input function that is less than 32 bytes compiled? (FASM code prefered, but I can deal with porting NASM code)
Any help would be appreciated email me at [email protected]


thanks!!!!!!!!!!!