Page 1 of 1

Posted: Sat Jan 04, 2003 9:44 pm
by BackupUser
Restored from previous forum. Originally posted by JohnDeHope3.

When I write a character to the bottom-right position of a console screen (position 79,24) it automatically scrolls down 1 line. How do I stop that from happening?

Posted: Sat Jan 04, 2003 9:59 pm
by BackupUser
Restored from previous forum. Originally posted by PB.

> When I write a character to the bottom-right position of a console
> screen (position 79,24) it automatically scrolls down 1 line.

Try locating the cursor to 0,0 immediately after writing to 79,24.
It may not work, but that's how I used to do it on the Commodore 64.

Posted: Sat Jan 04, 2003 10:10 pm
by BackupUser
Restored from previous forum. Originally posted by JohnDeHope3.

Alas it doesn't seem to work. Any more ideas?

Posted: Sun Jan 05, 2003 1:43 pm
by BackupUser
Restored from previous forum. Originally posted by PB.

> Alas it doesn't seem to work. Any more ideas?

No, there's no way to do it with the built-in PureBasic commands.
Maybe someone knows a way in assembler?

BTW, I made a mistake when I posted my method above: I didn't actually
use to relocate the cursor on the C64; I actually used to just POKE the
ASCII character code into the bottom-right corner's screen address.

Posted: Sun Jan 05, 2003 4:13 pm
by BackupUser
Restored from previous forum. Originally posted by JohnDeHope3.

You know, I thought of that... Can you tell me what the memory range is for the 80x25 display? Or perhaps tell me a place to find such information?

Posted: Sun Jan 05, 2003 5:02 pm
by BackupUser
Restored from previous forum. Originally posted by PB.

> Can you tell me what the memory range is for the 80x25 display?
> Or perhaps tell me a place to find such information?

I really don't know how to interact with the console in such a way, sorry.

Posted: Mon Jan 06, 2003 1:27 pm
by BackupUser
Restored from previous forum. Originally posted by pbdep.
Originally posted by JohnDeHope3

When I write a character to the bottom-right position of a console screen (position 79,24) it automatically scrolls down 1 line. How do I stop that from happening?

Posted: Mon Jan 06, 2003 1:42 pm
by BackupUser
Restored from previous forum. Originally posted by pbdep.
Originally posted by JohnDeHope3

When I write a character to the bottom-right position of a console screen (position 79,24) it automatically scrolls down 1 line. How do I stop that from happening?
For DOS and Linux>
When you write to the screen-memory in ASM with Char+Attr it should
work fine, but I dont know how PB handles the "print" command, or
what PB uses as Screen+Memory IO in protected mode.
Normaly it should work but if you use ANSI IO or Print/PrintN it
probably wont work.

Norman.