VOGONS

Common searches


Search results

Display options

Re: MartyPC

Afaik it depends on the pixel mode. During 8 pixel character clocks it MOD 7. So 8-F=0-7. During 9 pixel character clocks 8=0, 0-7=1-8. Above 8 is undocumented. I simply made it 0 there. Perhaps it aliases 1-8 to 9+? You'd need to check real hardware on that. Have you tried FantasyLand in UniPCemu?

Re: MartyPC

FantasyLand doesn't seem to use pel panning, which is interesting. It uses the preset row scan register for smooth vertical scrolling, but horizontal scrolling appears character based. Hmm - I'll admit that I was lazy and only looked it up on youtube (https://www.youtube.com/watch?v=czfGt5iNuSQ), …

Re: MartyPC

FantasyLand doesn't seem to use pel panning, which is interesting. It uses the preset row scan register for smooth vertical scrolling, but horizontal scrolling appears character based. Just curious, how do you handle the monitor's borders? I get weirdly sized black borders on top,bottom,left,right …

Re: MartyPC

FantasyLand doesn't seem to use pel panning, which is interesting. It uses the preset row scan register for smooth vertical scrolling, but horizontal scrolling appears character based.

Re: MartyPC

I'm pretty sure FantasyLand does that. It should be a good text mode torture-test in general, although it expects the EGA to be switched to 15.7KHz-only operation (i.e. 200-line text modes). PCjs made a big deal of being able to run it, although it gets the color palette glaringly wrong. :) It runs …

Re: MartyPC

EGA support is coming along well. The EGA emulation is character-accurate and the various duties of the various LSI chips are simulated. A similar strategy has been used for EGA as was used for MartyPC's CGA - one of two fixed resolution fields are scanned out (depending on whether the EGA is …

Re: EGA/VGA and mode Fh mono 'colors'?

superfury wrote on 2024-02-11, 00:20: GloriousCow wrote on 2024-02-10, 23:44: Can you post your test utility? I can see if it blinks on hardware, if you haven't tested that. https://bitbucket.org/superfury/unipcemu/src/ … niPCemu/pascal/ You'll need UNIPCEMU.PAS and MODE0F.PAS. I was hoping you …

Re: EGA/VGA and mode Fh mono 'colors'?

It's both inverted and reverted if I'm using the proper terms. On=0, off=1 (=inverted) clock #0=SW#3 and clock #3=SW#0 (=reverted) Otherwise, the IBM documentation on the switches and resulting table entries doesn't match the monochrome modes properly (not selecting 3Bx or aborting in some cases)? …

Re: EGA/VGA and mode Fh mono 'colors'?

The EGA BIOS really reads the dipswitches, but practically inverses the bits in the result from the bits in the MISC OUTPUT REGISTER outputs to read it. So clock #0 returns bit #3, clock #1 returns bit #2, clock #2 returns bit #1 and clock #3 returns bit #0 as stored there. So the bits are stored …

Re: The 8088 Prefetch Algorithm

What's better than a simple model? An even simpler one! State transitions? Get those out of here! What if absolutely every bus "delay" on the 8088 was simply explained by a 7 cycle bus access time? https://martypc.blogspot.com/2024/02/the-comp … intel-8088.html

Re: 8088 assembly help

Even on 8088 its best to use word versus byte if you can, as it saves instruction decode time by just doing half as many (obviously the 8088 can only load/store 8 bits at a time but every saving is worth it). Not to nitpick, but rep movsb is only decoded once (assuming no interrupts occur). The REP …

Re: EGA/VGA and mode Fh mono 'colors'?

C0-C3 are of course first masked by Color plane enable before any other processing into an index into the LUT. Right. The color plane enable basically masks the address bits to the attribute palette registers. The documentation mentions it uses C2 and C0 and their combination effects when MONO ( …

Page 2 of 15