Reply 40 of 52, by Plasma
- Rank
- Member
Hrmm so close. Can you take some screenshots of the Regular/Extended ASCII chart in QBasic? (Help->Contents->ASCII Character Codes)
Hrmm so close. Can you take some screenshots of the Regular/Extended ASCII chart in QBasic? (Help->Contents->ASCII Character Codes)
Trying to identify old hardware ? Visit The retro web - Project's thread The Retro Web project - a stason.org/TH99 alternative
Try one of these...
No, that didn't work, it simply made the second half the same as the first one
Edit: ok you've edited, let me try the other one
Trying to identify old hardware ? Visit The retro web - Project's thread The Retro Web project - a stason.org/TH99 alternative
Ok same with Font3.zip 🙁
Trying to identify old hardware ? Visit The retro web - Project's thread The Retro Web project - a stason.org/TH99 alternative
Ok here is my last lazy attempt, if this doesn't work I will have to put some more effort into it later.
VICTORY \o/
Thanks everybody involved and especially Plasma for tweaking the ROM 😀
By the way, what was your technique to tweak the ROM ? Of course it must be some sort of bit shift, but I think reproducing it would be useful for others (or simply for fonts hacks).
Trying to identify old hardware ? Visit The retro web - Project's thread The Retro Web project - a stason.org/TH99 alternative
😎
It's just some ugly QB code:
DEFINT A-Z
OPEN "ibm.bin" FOR BINARY AS #1
temp$ = SPACE$(&H1800)
GET #1, , temp$
DIM char$(0 TO 1023)
FOR i = 0 TO 255
char$(i) = SPACE$(8)
GET #1, , char$(i)
NEXT
FOR i = 0 TO 127
char$(i + 256) = char$(i + 128)
char$(i + 384) = char$(i + 128)
char$(i + 512) = char$(i + 128)
char$(i + 640) = char$(i + 128)
char$(i + 768) = char$(i + 128)
char$(i + 896) = char$(i + 128)
NEXT
CLOSE #1
DIM invert(0 TO 1023)
FOR i = 0 TO 1023
j = i * 2
IF j > 1023 THEN j = (j AND 1023) OR 1
invert(j) = i
NEXT
OPEN "font4.bin" FOR BINARY AS #1
FOR j = 0 TO 1023
PUT #1, , char$(invert(j))
NEXT
CLOSE #1
I switched to the IBM font because I was unsure of the layout of the Eagle PC Spirit font. I fixed the extended characters by just repeating them 🤣.
Thanks for sharing 😁
Trying to identify old hardware ? Visit The retro web - Project's thread The Retro Web project - a stason.org/TH99 alternative
BTW I noticed that your card can also do MDA/Hercules modes. If you plan on using those, the font will need some more work since I only included 8x8 and it needs 8x14.
Oh I see. Might be interesting to try that out !
I don't plan to use those, but if I ever get rid of that card or change my mind it would save a lot of headaches !
Trying to identify old hardware ? Visit The retro web - Project's thread The Retro Web project - a stason.org/TH99 alternative