flat assembler
Message board for the users of flat assembler.
Index
> OS Construction > linebreak in protected mode? |
Author |
|
vid 25 Dec 2006, 00:02
do you understand what your code does? (and how?)
|
|||
25 Dec 2006, 00:02 |
|
qyte 25 Dec 2006, 00:17
uhm ... of course. do you? ;D
|
|||
25 Dec 2006, 00:17 |
|
vid 25 Dec 2006, 00:54
Quote:
to go to new line, you should write to 0xB0000 + 80*2 (if your screen is 80 characters wide) |
|||
25 Dec 2006, 00:54 |
|
DOS386 25 Dec 2006, 01:18
Quote: In protected mode the bytes 12 and 10 are shown as a circle and a not, or something 12 or 13 ? Anyway, I do not think this fact is specific to PM. Quote: "Loading Kernel ...",13,10,0 You can drop the "13,10" and define EOL as 1 or whatever ... Quote: to go to new line, you should write to 0xB0000 + 80*2 (if your screen is 80 characters wide) Right. You need to set up a variable with screen writing address or 2 variables keeping X and Y cursor position, and check the string for EOL value yourself ... _________________ Bug Nr.: 12345 Title: Hello World program compiles to 100 KB !!! Status: Closed: NOT a Bug |
|||
25 Dec 2006, 01:18 |
|
Dex4u 25 Dec 2006, 02:09
You need to write your own functions, go here:
http://bos.asmhackers.net/downloads.php And get the OS BOS by bubach, in BOS is a inc file called "text.inc" with some good examples. |
|||
25 Dec 2006, 02:09 |
|
qyte 25 Dec 2006, 18:17
Thx everybody.
Special thanks 2 Dex. That inc file is really educational especially in setting the cursorpos, scrolling the screen and stuff. |
|||
25 Dec 2006, 18:17 |
|
rugxulo 26 Dec 2006, 04:55
BOS seems to work in DOSBOX also (except for "fddtest" and "reboot").
|
|||
26 Dec 2006, 04:55 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.