Megalextoria
Retro computing and gaming, sci-fi books, tv and movies and other geeky stuff.

Home » Digital Archaeology » Computer Arcana » Apple » Apple II Emulation » KEGS v1.08 released
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
KEGS v1.08 released [message #409467] Tue, 29 June 2021 22:44 Go to next message
Anonymous
Karma:
Originally posted by: kegs

I've updated KEGS, and Apple IIgs emulator for Mac OS X and Linux, to v1.08.

The previous version (v1.07) had a severe crashing bug when loading many
WOZ images. That has been fixed.

KEGS v1.08 is available at: http://kegs.sourceforge.net

Kent
Re: KEGS v1.08 released [message #409476 is a reply to message #409467] Wed, 30 June 2021 07:03 Go to previous messageGo to next message
Anonymous
Karma:
Originally posted by: Jay -blank-

Hi Kent,

I appreciate the continued development of kegs for macOS; been using it since the HPUX days. So happy to have 3.5" .woz support!

Maybe it was fork of kegs in the past but is there any way to hide the lower status screen. As a casual user, nothing in this is of interest to me and it's more distracting than useful.

Regards.
Re: KEGS v1.08 released [message #409479 is a reply to message #409476] Wed, 30 June 2021 10:55 Go to previous messageGo to next message
Anonymous
Karma:
Originally posted by: fadden

On Wednesday, June 30, 2021 at 4:03:53 AM UTC-7, Jay -blank- wrote:
> Maybe it was fork of kegs in the past but is there any way to hide the lower status screen. As a casual user, nothing in this is of interest to me and it's more distracting than useful.

Emulated copies of the original Bard's Tale games were included with an updated version a while back (https://store.steampowered.com/app/41900/The_Bards_Tale/). I think that used a tidied-up KEGS to run the Apple IIgs version.

(Note that's different from the fully-remastered https://store.steampowered.com/app/843260/The_Bards_Tale_Tri logy/ .)
Re: KEGS v1.08 released [message #409482 is a reply to message #409479] Wed, 30 June 2021 13:35 Go to previous messageGo to next message
Anonymous
Karma:
Originally posted by: Jay -blank-

On Wednesday, June 30, 2021 at 10:55:36 AM UTC-4, fadden wrote:
> On Wednesday, June 30, 2021 at 4:03:53 AM UTC-7, Jay -blank- wrote:
>> Maybe it was fork of kegs in the past but is there any way to hide the lower status screen. As a casual user, nothing in this is of interest to me and it's more distracting than useful.
> Emulated copies of the original Bard's Tale games were included with an updated version a while back (https://store.steampowered.com/app/41900/The_Bards_Tale/). I think that used a tidied-up KEGS to run the Apple IIgs version.
>
> (Note that's different from the fully-remastered https://store.steampowered.com/app/843260/The_Bards_Tale_Tri logy/ .)

I'm thinking farther back there was one with a config switch to toggle it. I've been happy with GSplus but the problem is time marches on. Pretty sure those Bard's Tale Mac versions are also only 32 bit so no longer useful just like Sweet16 as we need 64bit or on to the M1 family in the near future for macOS support. KEGS has added some nice bug fixes and additions that other forks will likely never see and I've moved to KEGS as my primary GS emulator because of this.

I took out all the text but that leaves a black box and I don't have the knowledge to find/change the screen drawing routines. But I think it's a pretty useful feature request that isn't platform dependent.
Re: KEGS v1.08 released [message #409492 is a reply to message #409482] Wed, 30 June 2021 16:57 Go to previous messageGo to next message
Anonymous
Karma:
Originally posted by: kegs

In article <e0ec029e-51ad-4a12-ab3b-11de5277d377n@googlegroups.com>,
Jay -blank- <beheybirder@gmail.com> wrote:
> On Wednesday, June 30, 2021 at 10:55:36 AM UTC-4, fadden wrote:
>> On Wednesday, June 30, 2021 at 4:03:53 AM UTC-7, Jay -blank- wrote:
>>> Maybe it was fork of kegs in the past but is there any way to hide
> the lower status screen. As a casual user, nothing in this is of
> interest to me and it's more distracting than useful.
>> Emulated copies of the original Bard's Tale games were included with
> an updated version a while back
> (https://store.steampowered.com/app/41900/The_Bards_Tale/). I think that
> used a tidied-up KEGS to run the Apple IIgs version.
>>
>> (Note that's different from the fully-remastered
> https://store.steampowered.com/app/843260/The_Bards_Tale_Tri logy/ .)
>
> I'm thinking farther back there was one with a config switch to toggle
> it. I've been happy with GSplus but the problem is time marches on.
> Pretty sure those Bard's Tale Mac versions are also only 32 bit so no
> longer useful just like Sweet16 as we need 64bit or on to the M1 family
> in the near future for macOS support. KEGS has added some nice bug fixes
> and additions that other forks will likely never see and I've moved to
> KEGS as my primary GS emulator because of this.
>
> I took out all the text but that leaves a black box and I don't have the
> knowledge to find/change the screen drawing routines. But I think it's a
> pretty useful feature request that isn't platform dependent.

You are not the first person to request this. :-)

I made some changes to KEGS to make this possible, but didn't finish it.
Previously, the size of the window was hardcoded in many places. Now, it's
not. But to actually resize the window to allow toggling the status area on
and off requires work, and I just haven't done it. I wanted KEGS to have some
useful features first (since KEGS with a slightly improved UI is already done
by GSPlus/GSPort, so there's no point). I'm still undecided on whether I
should make one more useful feature (one that no other emulator has), and then
work on UI improvements.

Also, KEGS has only ever been licensed to use in one commercial game, for an
iPhone game about 8 years where it was done very well and so you cannot even
tell it's KEGS. I'll ask for permission to name it (I didn't agree to keep it
confidential, but it seems polite to ask first).

All other uses of KEGS in commercial games (where they did not include source
code as required by the GPL), are pirates. All commercial uses on Windows
(again, if they didn't release source code) are pirates. I am interested in
forming a list of all pirated versions of KEGS, you can email me or post. I'm
willing to give fairly generous licensing terms, but no one even asks.

I should write up why I kicked all contributions out of KEGS 15 years ago.
I had a potential to make "very low 5 digits" in a licensing deal that went no
where (and I suspected it would go nowhere, but kicking out contributions was
not much work, and it at least gave me the option to try).

Kent
Re: KEGS v1.08 released [message #409733 is a reply to message #409492] Thu, 08 July 2021 16:16 Go to previous messageGo to next message
Antoine Vignau is currently offline  Antoine Vignau
Messages: 1860
Registered: October 2012
Karma: 0
Senior Member
Thanks for the updates, Kent.
I have a question: I use a modern Mac with an AZERTY keyboard. Are non-US keyboard layouts recognized? I "hate" pressing "A" and get a "Q" in response!
Thank you,
Antoine
Re: KEGS v1.08 released [message #409734 is a reply to message #409492] Thu, 08 July 2021 16:18 Go to previous messageGo to next message
Antoine Vignau is currently offline  Antoine Vignau
Messages: 1860
Registered: October 2012
Karma: 0
Senior Member
And I think you are referring to Karateka on ios. If so, that is my crack that was used :-)
av
Re: KEGS v1.08 released [message #409735 is a reply to message #409733] Thu, 08 July 2021 16:56 Go to previous messageGo to next message
Anonymous
Karma:
Originally posted by: kegs

In article <788b9756-d1fe-4261-a6ee-a7f1fc2c647cn@googlegroups.com>,
Antoine Vignau <ntn.vignau@gmail.com> wrote:
> Thanks for the updates, Kent.
> I have a question: I use a modern Mac with an AZERTY keyboard. Are
> non-US keyboard layouts recognized? I "hate" pressing "A" and get a "Q"
> in response!
> Thank you,
> Antoine

The short answer is I don't know. I do nothing special for non-US keyboards,
and I don't know what happens in that case.

KEGS tries to get raw keycodes from the OS. KEGS then has a map of keycodes
to ASCII keys. I was assuming 'A' was the same keycode always, regardless of
where the key is placed on your keyboard.

So, are you saying when you run KEGS 1.08 and press 'A', you get 'Q',
but in all other applications on your Mac, 'A' is 'A'?
If so, this is something I should fix. I'm not sure how I'm supposed to
figure out the current keyboard map, though. How do other emulators
handle your keyboard (ignoring MAME, which is weird)? Do you have to change
a setting?

Kent
RE: KEGS v1.08 released [message #409764 is a reply to message #409467] Fri, 09 July 2021 10:34 Go to previous messageGo to next message
Anonymous
Karma:
Originally posted by: Garrett Meiers

On Tue Jun 29 21:44:55 2021 kegs@provalid.com (Kent Dickey) wrote:
> I've updated KEGS, and Apple IIgs emulator for Mac OS X and Linux, to v1.08.
>
> The previous version (v1.07) had a severe crashing bug when loading many
> WOZ images. That has been fixed.

Excellent work! Can't wait to check this out.
RE: Re: KEGS v1.08 released [message #409765 is a reply to message #409476] Fri, 09 July 2021 10:35 Go to previous messageGo to next message
Anonymous
Karma:
Originally posted by: Garrett Meiers

On Wed Jun 30 04:03:52 2021 Jay -blank- wrote:

> I appreciate the continued development of kegs for macOS; been using it since the HPUX days. So happy to have 3.5" .woz support!



I never considered trying to run this on HPUX. HPUX is my favorite *NIX.
Re: KEGS v1.08 released [message #409780 is a reply to message #409735] Sat, 10 July 2021 09:25 Go to previous messageGo to next message
Antoine Vignau is currently offline  Antoine Vignau
Messages: 1860
Registered: October 2012
Karma: 0
Senior Member
Hi Kent,
It is a keymap problem. I analyzed the issue for gs+ and it is similar for KEGS. There are other keymaps that must be added to the source code. Because, yes, when I press A, I get a Q whatever the emulator, apart from Sweet16 because Eric made the changes a couple of years ago.

Please get the unique text file at http://www.brutaldeluxe.fr/public/, and you will understand.

Thank you,
Antoine
Re: KEGS v1.08 released [message #409785 is a reply to message #409780] Sat, 10 July 2021 13:57 Go to previous message
Anonymous
Karma:
Originally posted by: kegs

In article <67c057d1-b11a-4551-bbe7-f19a39719398n@googlegroups.com>,
Antoine Vignau <ntn.vignau@gmail.com> wrote:
> Hi Kent,
> It is a keymap problem. I analyzed the issue for gs+ and it is similar
> for KEGS. There are other keymaps that must be added to the source code.
> Because, yes, when I press A, I get a Q whatever the emulator, apart
> from Sweet16 because Eric made the changes a couple of years ago.
>
> Please get the unique text file at http://www.brutaldeluxe.fr/public/,
> and you will understand.
>
> Thank you,
> Antoine

I still don't fully understand. I tried telling my Mac that I have a French
keyboard, and it didn't seem to do anything. One thing that would be helpful
would be if you could modify KEGS 1.08 to add some debug printfs to
MainView.swift. Here's the current function:

override func keyDown(with event: NSEvent) {
let keycode = event.keyCode
let is_repeat = event.isARepeat;
// print(".keyDown code: \(keycode), repeat: \(is_repeat)")
if(is_repeat) {
// If we do CMD-E, then we never get a down for the E,
// but we will get repeat events for that E. Let's
// ignore those
return
}
adb_physical_key_update(kimage_ptr, Int32(keycode), 0,
Int32(current_flags & is_shift),
Int32(current_flags & is_control),
Int32(current_flags & is_capslock))
}

I'd like you to uncomment the print, and add a few lines:

override func keyDown(with event: NSEvent) {
let keycode = event.keyCode
let is_repeat = event.isARepeat;
print(".keyDown code: \(keycode), repeat: \(is_repeat)")
if let str = event.characters {
print(" str: \(str)")
}
if(is_repeat) {
// If we do CMD-E, then we never get a down for the E,
// but we will get repeat events for that E. Let's
// ignore those
return
}
...

Just uncomment the print() and add the 3 lines for the if / print / }.
Do make.

Then run KEGS from the Terminal as:

../KEGSMAC.app/Contents/MacOS/KEGSMAC

and press some keys. Then post the output (or email it to me). Tell me what
keys you were pressing (if the str: doesn't match or looks like gibberish).
Include some function keys, backspace, delete, and other keys only available
by pressing shift: % * { >, return, etc.

I think I've completely misunderstood how keycodes work. Rather than
mucking about with this complexity, I'm tempted to virtualize keycodes:
press whatever key you want on your keyboard, and KEGS will translate it
to US Standard keycodes, so all code running on the IIgs will always see
the US standard keyboard codes. Would this work for you? So if you press
'A', KEGS would then always act like you pressed keycode=00 and an A will
appear.

Does the same problem happen on X11? I would think it would not, but I'm
not sure.

Kent
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Mame/Ample questions
Next Topic: mb-audit: a Mockingboard test suite for emulators
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Apr 19 10:15:42 EDT 2024

Total time taken to generate the page: 0.02541 seconds