[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/db/driver/mysqli.php on line 264: mysqli_fetch_assoc(): Couldn't fetch mysqli_result
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/db/driver/mysqli.php on line 326: mysqli_free_result(): Couldn't fetch mysqli_result
Pete's QBASIC Site Discuss QBasic, Freebasic, QB64 and more 2007-08-29T18:37:51-05:00 http://petesqbsite.com/phpBB3/app.php/feed/topic/2424 2007-08-29T18:37:51-05:00 2007-08-29T18:37:51-05:00 http://petesqbsite.com/phpBB3/viewtopic.php?p=15008#p15008 <![CDATA[CLS in ASM]]> Statistics: Posted by Frosty480 — Wed Aug 29, 2007 6:37 pm


]]>
2007-08-29T15:34:49-05:00 2007-08-29T15:34:49-05:00 http://petesqbsite.com/phpBB3/viewtopic.php?p=15006#p15006 <![CDATA[CLS in ASM]]>
maybe try this: (from http://www.codeguru.com/forum/archive/i ... 26197.html)
mov ax,3
int 10h

This one set 80x25 text mode. I don't know if you're working i that one and if no, here are some other modes:

0 -> 40x25
1 -> 40x25
2 -> 80x25
3 -> 80x25

It looks as if XP is blocking the interrupt call so that any other mode cannot be set. Blocked or not, this method still clears the screen.

Statistics: Posted by Stoves — Wed Aug 29, 2007 3:34 pm


]]>
2007-08-29T14:50:55-05:00 2007-08-29T14:50:55-05:00 http://petesqbsite.com/phpBB3/viewtopic.php?p=15003#p15003 <![CDATA[CLS in ASM]]> Statistics: Posted by Frosty480 — Wed Aug 29, 2007 2:50 pm


]]>
2007-08-29T14:41:39-05:00 2007-08-29T14:41:39-05:00 http://petesqbsite.com/phpBB3/viewtopic.php?p=15002#p15002 <![CDATA[CLS in ASM]]>

Code:

Point to video memory address: 0 offset.Get each byte of video memory and XOR it with itself.
That will reset all video memory to 0. Hence, blank screen. (Assuming of course that color zero is black.)

Statistics: Posted by Stoves — Wed Aug 29, 2007 2:41 pm


]]>
2007-08-29T12:34:49-05:00 2007-08-29T12:34:49-05:00 http://petesqbsite.com/phpBB3/viewtopic.php?p=14998#p14998 <![CDATA[CLS in ASM]]>
The reason why I ask is because im working on a OS in ASM, and I need to clear the screen when the PC boots....

Statistics: Posted by Frosty480 — Wed Aug 29, 2007 12:34 pm


]]>