Page 3 of 3

Re: MDA Upgrade to Hercules

Posted: Sun Jan 22, 2023 5:56 pm
by jordi
Newsdee wrote: Sun Jan 22, 2023 8:38 am
spark2k06 wrote: Thu Jan 19, 2023 10:33 am

there may be software that uses both cards simultaneously, and in the absence of two monitors

This reminded me of the GB2P and GBA2P cores: https://www.retrorgb.com/2-player-gb-gb ... ister.html

These cores have a feature where the HDMI and VGA video output of the MiSTer can show different screens.
Mabye some code can be reused to make PCXT work with real dual monitor output.

Obviously this is only nice to have and maybe not worth the effort at all,
but here it is if you want to add another "wow" feature for Hercules users :D
https://github.com/RobertPeip/Gameboy_M ... 582106b6fd

Edit: here is a video showing a couple of apps that support it: https://www.youtube.com/watch?v=4zugZGBPTSA
and it looks like a couple of demos at least use it, e.g.: https://www.youtube.com/watch?v=xsHZl8mhE6A

How cool is such demo!


Re: MDA Upgrade to Hercules

Posted: Sun Jan 22, 2023 7:05 pm
by Malor

That would be a cool feature, but probably not that useful unless the Hercules emulation becomes more complete, which looks like a serious pain in the butt. Just documenting how it even works looks like a pain, never mind implementing it.


Re: MDA Upgrade to Hercules

Posted: Sun Jan 22, 2023 8:59 pm
by flynnsbit
Newsdee wrote: Sun Jan 22, 2023 8:38 am
spark2k06 wrote: Thu Jan 19, 2023 10:33 am

there may be software that uses both cards simultaneously, and in the absence of two monitors

This reminded me of the GB2P and GBA2P cores: https://www.retrorgb.com/2-player-gb-gb ... ister.html

These cores have a feature where the HDMI and VGA video output of the MiSTer can show different screens.
Mabye some code can be reused to make PCXT work with real dual monitor output.

Obviously this is only nice to have and maybe not worth the effort at all,
but here it is if you want to add another "wow" feature for Hercules users :D
https://github.com/RobertPeip/Gameboy_M ... 582106b6fd

Edit: here is a video showing a couple of apps that support it: https://www.youtube.com/watch?v=4zugZGBPTSA
and it looks like a couple of demos at least use it, e.g.: https://www.youtube.com/watch?v=xsHZl8mhE6A

FastDoom now as well. Of course this would need AO486 to have this play like this but still cool to see.
https://www.youtube.com/watch?v=GBY1Ti_Q4Ac

Neat seeing the map on one screen while playing doom on the other.


Re: MDA Upgrade to Hercules

Posted: Mon Jan 23, 2023 3:03 am
by suww37
Malor wrote: Sun Jan 22, 2023 7:05 pm

That would be a cool feature, but probably not that useful unless the Hercules emulation becomes more complete, which looks like a serious pain in the butt. Just documenting how it even works looks like a pain, never mind implementing it.

I also agree with your opinion. I think the PCXT core hercules module is still lacking a lot. We must wait for someone to find a way to support another hercules register.


Re: MDA Upgrade to Hercules

Posted: Wed Jan 25, 2023 8:16 am
by spark2k06

Here goes my contribution to the original Graphics Gremlin project, let's see if the author of the project is encouraged to try to fix the outstanding problems :)

https://twitter.com/spark2k06/status/16 ... 4175260673
https://github.com/schlae/graphics-gremlin/issues/15

photo_2023-01-25_08-47-24.jpg
photo_2023-01-25_08-47-24.jpg (205.26 KiB) Viewed 7139 times

Re: MDA Upgrade to Hercules

Posted: Wed Jan 25, 2023 9:33 am
by breiztiger

HGC seem to use same frequency as MDA (50Hz)

MNL115_ita_eng.pdf
(686.05 KiB) Downloaded 142 times

Re: MDA Upgrade to Hercules

Posted: Wed Jan 25, 2023 7:07 pm
by pgimeno
Malor wrote: Sun Jan 22, 2023 5:32 pm

I guess my aging brain has let me down again, then. Wordperfect 5.1 used function keys very heavily, and I thought F11 was one of them, but I haven't touched it in probably thirty years.

That's my recollection as well, though I don't remember ever using it on an XT.


Re: MDA Upgrade to Hercules

Posted: Thu Jan 26, 2023 5:53 am
by kathleen

I'm maybe wrong but to me this is true that at the beginning, the XT keyboards were having "only" 10 function keys.
I guess that the 2 additional function keys were introduced once the AT came on the market, so the extended keyboard were also used on the XT where some apps took the benefit of this, like WP5.1.


Re: MDA Upgrade to Hercules

Posted: Thu Jan 26, 2023 9:13 pm
by Malor
kathleen wrote: Thu Jan 26, 2023 5:53 am

I'm maybe wrong but to me this is true that at the beginning, the XT keyboards were having "only" 10 function keys.
I guess that the 2 additional function keys were introduced once the AT came on the market, so the extended keyboard were also used on the XT where some apps took the benefit of this, like WP5.1.

That sounds right to me, but I was still mostly an Amiga guy during the XT to AT transition, and wasn't paying that much attention yet. I know there were physical differences between XT and AT keyboards, the signaling changed somehow, but lots of keyboards were switchable between modes, and I think there were also adapters. (Then they changed the interface again for the PS/2.)

I'm not sure if a switchable keyboard would pass F11 to an XT, though.

What I should probably do is try to scare up a WP 5.1 manual, or at least one of their "cheat bars", which were a strip of shortcut labels you put on your keyboard above the F-keys. I think either source would show if F11 was used. If I get to it today, though, it probably won't be until evening.

edit: as a bet with myself, I think F11 was a secondary shortcut for 'reveal codes' in WP5.1. It had the same thing on a different alt-function key, I believe, but then when F11 started existing, I think they duplicated it there because it was being used a lot more than they'd expected.

But: thirty years since I last used it. I could be grievously wrong.


Re: MDA Upgrade to Hercules

Posted: Fri Jan 27, 2023 8:04 pm
by Malor

Ok, I tracked down the WordPerfect info. Yes, F11 was Reveal Codes. F12 was used for block selection. However, these were secondary keys; you could also use alt-F3 and alt-F4, respectively. F11 and F12 were clearly added later, because that one function each is all they do. The other function keys are all overloaded with normal key, control key, alt key, and shift key, for a total of 40 functions.

I still don't know, however, if XTs could use F11, even with an aftermarket keyboard.


Re: MDA Upgrade to Hercules

Posted: Fri Jan 27, 2023 11:45 pm
by jca

The IBM 5160 V3 supports the enhanced keyboard. F11 and F12 works with WP 5.1 under PCXT.


Re: MDA Upgrade to Hercules

Posted: Sat Jan 28, 2023 5:03 am
by spark2k06

After reading all the comments about the real use of F11 and F12 on XT machines and software designed for it, it is clearer to me that it is clearly not essential 8-)


Re: MDA Upgrade to Hercules

Posted: Sat Jan 28, 2023 1:12 pm
by Malor

I think you're drawing the exact wrong conclusion there, spark2k06. It wasn't essential on Wordperfect, but F11 was something that almost every user would bang on constantly. And, per jca, real XTs could read the code, so IMO you should be moving both F11 and F12 to Windows-F11 and F12, like the AO486 core does.

Intercepting those keystrokes was not something that real XTs did.


Re: MDA Upgrade to Hercules

Posted: Sat Jan 28, 2023 1:54 pm
by spark2k06
Malor wrote: Sat Jan 28, 2023 1:12 pm

I think you're drawing the exact wrong conclusion there, spark2k06. It wasn't essential on Wordperfect, but F11 was something that almost every user would bang on constantly. And, per jca, real XTs could read the code, so IMO you should be moving both F11 and F12 to Windows-F11 and F12, like the AO486 core does.

Intercepting those keystrokes was not something that real XTs did.

Apart from this discussion, I don't see any related complaint from any user that they can't use this or that software because they can't press F11/F12, so, usable or not, what is clear is that it is certainly not very useful.

Edit:

By the way, the hook of the F11 and F12 keys is carried out at core level to access the functions described, in no case do I pass the scancodes to the system, so nothing else will happen other than what is stated.


Re: MDA Upgrade to Hercules

Posted: Sat Jan 28, 2023 2:56 pm
by held
spark2k06 wrote: Mon Jan 16, 2023 3:22 pm

I am pleased to show you the first tests on the upgrade of the MDA module from Graphics Gremlin to Hercules:

There are still some screen adjustments to be made so it doesn't look scrolled to the left, and support for the two Hercules memory pages, but I've attached a first binary for you to try out.

Apart from the cough- substandard crack in the video -cough, this is better than sliced bread :lol:
(I only use TDC or Exodus since they are actively maintained.)


Re: MDA Upgrade to Hercules

Posted: Sun Jan 29, 2023 5:02 pm
by breiztiger

https://github.com/wbhart/crtc

perhaps some interresting infos


Re: MDA Upgrade to Hercules

Posted: Sun Jan 29, 2023 8:34 pm
by Malor

I went and looked, and he doesn't even say what that does. There is literally not one word of documentation on what the "crtc" project is for, and "crtc", by itself, doesn't carry any useful information.

Maybe there's something in the sources, but a basic explanation of what it's about would seem in order before trying to dig through all those files.


Re: MDA Upgrade to Hercules

Posted: Sun Jan 29, 2023 8:56 pm
by breiztiger

Look at the file crtc.pdf


Re: MDA Upgrade to Hercules

Posted: Mon Jan 30, 2023 9:26 am
by suww37

You said that in the case of “Monkey1” or “prince of persia“, the hercules screen is output to normal. But if you also check these 2 games in detail, you’ll notice that the screen is not in the center and has moved slightly to the left. So it looks like you‘re going to need a screen adjustment for the Hercules graphics module, not a problem with a standard register or a non-standard register. Is it possible to solve this?


Re: MDA Upgrade to Hercules

Posted: Mon Jan 30, 2023 9:40 am
by spark2k06
suww37 wrote: Mon Jan 30, 2023 9:26 am

You said that in the case of “Monkey1” or “prince of persia“, the hercules screen is output to normal. But if you also check these 2 games in detail, you’ll notice that the screen is not in the center and has moved slightly to the left. So it looks like you‘re going to need a screen adjustment for the Hercules graphics module, not a problem with a standard register or a non-standard register. Is it possible to solve this?

Maybe one day I will take it up again, but it obviously needs a revision. Again, even so, this is already more than just an MDA. So that all these inconveniences are not forgotten between posts, I suggest you open issues in the GitHub repository. I hope that someone other than myself, who is skilled enough and interested enough, can contribute to the improvements.


Re: MDA Upgrade to Hercules

Posted: Tue Jan 31, 2023 12:27 am
by Newsdee

Every little step helps! It's great we have basic Hercules support even if there's still some issues to iron out


Re: MDA Upgrade to Hercules

Posted: Fri Feb 03, 2023 8:00 pm
by held
suww37 wrote: Mon Jan 30, 2023 9:26 am

You said that in the case of “Monkey1” or “prince of persia“, the hercules screen is output to normal. But if you also check these 2 games in detail, you’ll notice that the screen is not in the center and has moved slightly to the left. So it looks like you‘re going to need a screen adjustment for the Hercules graphics module, not a problem with a standard register or a non-standard register. Is it possible to solve this?

I going from memory here, but I had those same problems in the late 80's begin 90's. Although we had all kinds of issues on Hercules, you accepted that as being normal. So this could be in play too.

Crazy times :lol:


Re: MDA Upgrade to Hercules

Posted: Sat Feb 04, 2023 3:43 am
by Newsdee

Around 89-90, I was friend of two brothers across the street, and I'd hang out at their house to play together Lucasart and Sierra adventures on their PC on Hercules (it was probably an AT). Such good times. I wonder if either of them turned out as geeky as I am for older games :D