VOGONS


First post, by theelf

User metadata
Rank Oldbie
Rank
Oldbie

Hi guys, im in a middle of a working trip, and i dont have any old computer near me, and i dont trust dosbox or pcem to test a code im writing in asm

The code just change in mode 80x25 from 720x400 9x16 font to 640x400 8x16, but like i said i cant test in real hardware until next week i return home, but i will love to continue coding if i know works

First print a 9x16 text, then after press enter, it will display a 8x16 one, if working of course

Thanks in advance for test, and to let me know the video card you tested

Last edited by theelf on 2025-02-28, 21:56. Edited 1 time in total.

Reply 1 of 11, by amadeus777999

User metadata
Rank Oldbie
Rank
Oldbie

I got this...
after hitting return a blank screen, and after hitting return again I'm back at the prompt.

Reply 2 of 11, by theelf

User metadata
Rank Oldbie
Rank
Oldbie
amadeus777999 wrote on 2025-02-28, 20:39:

I got this...
after hitting return a blank screen, and after hitting return again I'm back at the prompt.

thanks a lot! very helpful

ok, the small exe what do is print "hello this is is a test of 9x16 font" then wait for a enter, and should be print "hello this is is a test of 8x16 font"

if not, is not changing to 8x16 640x400

Reply 3 of 11, by Grzyb

User metadata
Rank l33t
Rank
l33t

Testing on this hardware:

The attachment hw.png is no longer available

First, I get this:

The attachment before.png is no longer available

After ENTER - empty black screen, without even the blinking cursor.

Kiełbasa smakuje najlepiej, gdy przysmażysz ją laserem!

Reply 4 of 11, by theelf

User metadata
Rank Oldbie
Rank
Oldbie

Ok thank guys then the code is not working in real hardware

thats good to know then i dont need to keep losing time with this line of the code

Im still thinking if is possible to disable 9bit for 80x25

Reply 5 of 11, by Kalle

User metadata
Rank Newbie
Rank
Newbie

I got both texts, but they look the same to me, it didn't seem to have switched, the monitor reports 70Hz for both.
Tested on an nVidia Vanta LT in MS-DOS 6.22.

Reply 6 of 11, by theelf

User metadata
Rank Oldbie
Rank
Oldbie
Kalle wrote on 2025-03-01, 20:55:

I got both texts, but they look the same to me, it didn't seem to have switched, the monitor reports 70Hz for both.
Tested on an nVidia Vanta LT in MS-DOS 6.22.

thanks definitive test for me, since i have a riva 128 in my DOS computer

thanks a lot!!!

Reply 7 of 11, by Kalle

User metadata
Rank Newbie
Rank
Newbie

You're welcome. Out of interest I also took a deeper look at it and experimented with it. What you see in the screenshots is what you want, right?

From what I understood, this is what you have to do:
- Reset the sequencer, changing the clocking mode reg to a character width of 8 (3C4h to 1, 3C5h to (3C5h or 1))
- Set the char width of 8 in the pixel panning reg of the attribute controller (read 3DAh to prepare it, then write 13h, 0h and 20h to 3C0h)
- Set the misc output reg to the 25MHz pixel clock (3C2h to (3CCh and 0F3h))

Last edited by Kalle on 2025-03-02, 15:54. Edited 1 time in total.

Reply 8 of 11, by theelf

User metadata
Rank Oldbie
Rank
Oldbie
Kalle wrote on 2025-03-02, 11:22:
You're welcome. Out of interest I also took a deeper look at it and experimented with it. What you see in the screenshots is wha […]
Show full quote

You're welcome. Out of interest I also took a deeper look at it and experimented with it. What you see in the screenshots is what you want, right?

From what I understood, this is what you have to do:
- Reset the sequencer, changing the clocking mode reg to a character width of 8 (3C4h to 1, 3C5h to (3C5h or 1))
- Set the char width of 8 in the pixel pannel reg of the attribute controller (read 3DAh to prepare it, then write 13h, 0h and 20h to 3C0h)
- Set the misc output reg to the 25MHz pixel clock (3C2h to (3CCh and 0F3h))

Oh man yes this is what i want, but since i did not jave right now my computer i did not have chance to do some trial and error

You made what i was looking for! did you do in asm?

thanks a lot for test, interest and help

Last edited by theelf on 2025-03-02, 14:16. Edited 1 time in total.

Reply 9 of 11, by theelf

User metadata
Rank Oldbie
Rank
Oldbie
Kalle wrote on 2025-03-02, 11:22:
You're welcome. Out of interest I also took a deeper look at it and experimented with it. What you see in the screenshots is wha […]
Show full quote

You're welcome. Out of interest I also took a deeper look at it and experimented with it. What you see in the screenshots is what you want, right?

From what I understood, this is what you have to do:
- Reset the sequencer, changing the clocking mode reg to a character width of 8 (3C4h to 1, 3C5h to (3C5h or 1))
- Set the char width of 8 in the pixel pannel reg of the attribute controller (read 3DAh to prepare it, then write 13h, 0h and 20h to 3C0h)
- Set the misc output reg to the 25MHz pixel clock (3C2h to (3CCh and 0F3h))

i made a second test following your advice, will be possible can you check? thanks a lot

Reply 10 of 11, by Kalle

User metadata
Rank Newbie
Rank
Newbie

Yes, it switches fine on my computer now 😀

Reply 11 of 11, by theelf

User metadata
Rank Oldbie
Rank
Oldbie
Kalle wrote on 2025-03-02, 14:24:

Yes, it switches fine on my computer now 😀

Thanks a lot man, your advice was great, i did not need much more to correct asm code

Im happy to find all nice people like one in this forum

Im making a small game for DOS in text mode, and i was thinking to avoid the horrible 9x16 black line effect