Quite tricky
Quite tricky
Here is a rather tricky and most likely impossible question: Is it possible to duplicate INTERRUPT and INTERRUPTx in ASM? Kudos to any who can figure this onw out.
C:\DOS
C:\DOS\RUN
RUN\DOS\RUN
C:\DOS\RUN
RUN\DOS\RUN
-
- Veteran
- Posts: 703
- Joined: Sun Nov 14, 2004 7:36 am
- Contact:
I'm not a guru in assembler (wish I was and working at it but not there yet) but yes you can call interrupts in ASM it's even quicker in ASM because you don't have to worry about working with a TYPE def for the interrupt just move your values and call the interrupt
move AX, $0109 ' setting mode to 132x25 lines
int 10
should do the trick (give or take an instruction
move AX, $0109 ' setting mode to 132x25 lines
int 10
should do the trick (give or take an instruction
When God created light, so too was born, the first Shadow!
MystikShadows
Need hosting? http://www.jc-hosting.net
Interested in Text & ASCII development? Look no further!
http://www.ascii-world.com
MystikShadows
Need hosting? http://www.jc-hosting.net
Interested in Text & ASCII development? Look no further!
http://www.ascii-world.com
EVERYTHING can be translated to assembler, as all you code is finally converted to assembler...Perhaps you need to call interrupts from QB 1.1?
MystikShadows gave you the idea. Probably you will need too to save registers and pass variables to your asm routine.
I recommend you to browse the ABC packets, perhaps in the Interrupt section, you will find plenty of code there.
http://www.qbasicnews.com/abc/
You can check my site too, in my jpeg viewer (the fast one) I used an asm routine borrowed from ABC packets to call intrrupts so the code would run in QB1.1
MystikShadows gave you the idea. Probably you will need too to save registers and pass variables to your asm routine.
I recommend you to browse the ABC packets, perhaps in the Interrupt section, you will find plenty of code there.
http://www.qbasicnews.com/abc/
You can check my site too, in my jpeg viewer (the fast one) I used an asm routine borrowed from ABC packets to call intrrupts so the code would run in QB1.1