HELP ME!!!!!
Posted: Sat Aug 24, 2002 11:11 pm
Hello, *sniff* I need help with
ASM
No, I don't want you to teach me it, just help me with it. I have found a tutorial on how to use screen 12 with 256 colours! But there's a catch. You must build a PSET routine yourself.
You have to DEF SEG = &HA000 to get to the graphics segment, and do this equation to get the offset.
'
offset& = (y * 160) + (x / 4)
POKE offset& colour
'
My problem is as follows. Qbasic doesn't allow the use of the POKE command with an offset any higher then 65535, that means, I can only acess the top 1/4th of the screen! that won't do very well. This screen mode would add the needed resolution, and colour capabilities for programmers everywhere! You can even use existing pallete manipulating subroutines to control everthing on the screen!
I NEED some one to make an ASM library that has only one subroutine. SET x, y, c. It has to mutiply y by 160, divide x by 4, and add those two together. That is your offset. The segment is A000h, and the new byte is c. It's simple, but I'm ASM chalenged.
PLEASE HELP ME!!!!!
Post Script: If you want to find out more about this thing, or you just want to talk to a fellow programmer, or you know where I can learn a new programming language, then email me at: ingenius009@aol.com
Don't be afraid, I don't byte
LONG LIVE QBASIC!!!!
ASM
No, I don't want you to teach me it, just help me with it. I have found a tutorial on how to use screen 12 with 256 colours! But there's a catch. You must build a PSET routine yourself.
You have to DEF SEG = &HA000 to get to the graphics segment, and do this equation to get the offset.
'
offset& = (y * 160) + (x / 4)
POKE offset& colour
'
My problem is as follows. Qbasic doesn't allow the use of the POKE command with an offset any higher then 65535, that means, I can only acess the top 1/4th of the screen! that won't do very well. This screen mode would add the needed resolution, and colour capabilities for programmers everywhere! You can even use existing pallete manipulating subroutines to control everthing on the screen!
I NEED some one to make an ASM library that has only one subroutine. SET x, y, c. It has to mutiply y by 160, divide x by 4, and add those two together. That is your offset. The segment is A000h, and the new byte is c. It's simple, but I'm ASM chalenged.
PLEASE HELP ME!!!!!
Post Script: If you want to find out more about this thing, or you just want to talk to a fellow programmer, or you know where I can learn a new programming language, then email me at: ingenius009@aol.com
Don't be afraid, I don't byte
LONG LIVE QBASIC!!!!