Previous Thread
Next Thread
Print Thread
Page 3 of 3 1 2 3
Joined: Feb 2014
Posts: 1,019
Likes: 110
G
Very Senior Member
Online Content
Very Senior Member
G
Joined: Feb 2014
Posts: 1,019
Likes: 110
Yes, the modifications are to have a "dummy" input port so that you can click on a layout button.

Theoretically, you could make as many dummy ports and fields as you would like.

The layout element is connected to the port with an inputtag and inputmask.

It's primitive, but there's all kinds of interesting things you could do like loading/switching floppies, etc.

Video of it in action (it's super exciting, I know)



The dummy ports aren't connected to the keyboard, but you can activate them with the keyboard using the inputmacro plugin:

[Linked Image from i.imgur.com]

Last edited by Golden Child; 11/11/23 04:16 PM.
Joined: Feb 2014
Posts: 1,019
Likes: 110
G
Very Senior Member
Online Content
Very Senior Member
G
Joined: Feb 2014
Posts: 1,019
Likes: 110
I never knew about the function keys on the Franklin Ace 500/2x00. That's really cool. I wish that I'd had one of those back in the day just for that feature.

Perusing the code, I made a few modifications and the function keys seem to work, (at least on initial testing, not extensively tested though).

I think the problem is that it hits the strobe when you press the key AND when you release the key and there's no key down so it returns 0 and basically types the @ symbol.

Code
		// check Franklin F-keys
		if ((m_isace500) || (m_isace2200))
		{
			const u32 uFkeys = m_franklin_fkeys->read();

			if ((uFkeys ^ m_franklin_last_fkeys) && uFkeys)
			{
				m_transchar = count_leading_zeros_32(uFkeys) + 0x20;
				m_strobe = 0x80;
				m_franklin_strobe = 0;
			}
			m_franklin_last_fkeys = uFkeys;
		}
	}


So Franklin basic has a special command called FKEY
and you can redefine the function keys with FKEY [num],[string]

for example:

FKEY 1,"DUDE"
FKEY 2,"LIST"+CHR$(13)


Seems to work better on the Ace 2200 diagnostic disk keyboard test: (disk named Franklin Ace 2200 V1.0.dsk)

[Linked Image from i.imgur.com]

Last edited by Golden Child; 11/12/23 01:45 AM.
2 members like this: u-man, robcfg
Joined: Mar 2001
Posts: 17,125
Likes: 163
R
Very Senior Member
Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 17,125
Likes: 163
Thanks, those two changes seem to make it work great!

Page 3 of 3 1 2 3

Link Copied to Clipboard
Who's Online Now
4 members (Golden Child, AJR, R. Belmont, 1 invisible), 56 guests, and 1 robot.
Key: Admin, Global Mod, Mod
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics9,260
Posts121,258
Members5,064
Most Online1,283
Dec 21st, 2022
Our Sponsor
These forums are sponsored by Superior Solitaire, an ad-free card game collection for macOS and iOS. Download it today!

Superior Solitaire
Forum hosted by www.retrogamesformac.com