Previous Thread
Next Thread
Print Thread
Page 3 of 3 1 2 3
Joined: Feb 2014
Posts: 1,088
Likes: 162
G
Very Senior Member
Offline
Very Senior Member
G
Joined: Feb 2014
Posts: 1,088
Likes: 162
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,088
Likes: 162
G
Very Senior Member
Offline
Very Senior Member
G
Joined: Feb 2014
Posts: 1,088
Likes: 162
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,199
Likes: 216
R
Very Senior Member
Offline
Very Senior Member
R
Joined: Mar 2001
Posts: 17,199
Likes: 216
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 (Dam0, Darkstar, 2 invisible), 44 guests, and 5 robots.
Key: Admin, Global Mod, Mod
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics9,318
Posts121,827
Members5,074
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