Problems with fasasm

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
ZOSdever
Member
Member
Posts: 79
Joined: Thu Mar 31, 2005 12:00 am
Contact:

Problems with fasasm

Post 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!!!!!!!!!!!
Post Reply