Mega65 ideas, Laptop Mega65, Mega65 EMU in Linux, etc.

append delete Orion Blastar

I like this Mega65 idea.

Once you perfect the Mega65 PC for 199 EU or 300 to 400 USD or whatever, you should make a laptop model Mega65 so it can be ported around. Put Wifi on it and connect to wireless networks.

I assume the Kickstarter ROM will modify the Mega65 into some sort of Mutant Amiga using GEOS that is modified to use USB ports, Ethernet, etc.

Google has Chromebooks, basically, just Chrome running on Linux. You can have a Linux run the Mega65 Emulator as the main GUI as Mega65books.

The AROS project is loosely based on the AmigaOS 3.X API calls, can you modify a Mega65 to run AROS ported to the 4510 or whatever for a 50Mhz 4510 based AROS OS that can run Amiga apps as well?

What about MINT and MorphOS, can they be ported to the 4510?

Also for emulators making a C54/C65 keyboard on a USB adapter would be a good way to sell things for the emulators to make them easier to use. Make a USB dongle that can accept the Tape Drive, 1541, 1571, 1581 etc devices with drivers for Windows, Linux, and MacOS to use the keyboard with an emulator. Do the same with the Amiga Keyboard, make it USB based so it can be used with the emulators. Make a USB adapter to use the Atari/Commodore/Amiga joysticks in the 9 pin male format port.

Reply RSS


append delete #1. rosettif

Does the MEGA65 contain any kind of lightpen emulation? If so (and if the GEOS version in the making will also be set up with a lightpen driver), then it would be very useful for a touchscreen on a future laptop version. Similarly, when running WinVICE in a window and clicking by the Windows' mouse onto that: then the emulator translates it to a lightpen event for the emulated application at the appropriate X/Y position on screen.

append delete #2. LGB

@rosettif It's actually a kinda neat idea to support touchscreen in a way that even legacy apps can use it. And anyway, for me, it seems touchscreen events and lightpen stuffs are kinda similar: not that 100% position accurate in nature, so it even fits well because of this ;-P And if I remember well, even BASIC 10 supports (?) it with LPEN(), so some can use it from BASIC too (same for mouse btw - it was a surprise for me, who was used to BASIC 2 with all the POKEs and PEEKs).

BTW: Interestingly, in ROM v0.9.910111 LPEN() functions expects parameter 1 or 2 it seems, while documentation states 0/1. As far as I remember there are other places too, where there is this conflict (maybe later ROMs corrected that, I haven't checked).

append delete #3. PGSmobile

I do plan to add touch screen support, but had previously only planned to expose it as 1351 mouse emulation and onscreen keyboard support. Exposing it also as lightpen would not be hard to do.

append delete #4. rosettif

@PGSmobile: I can't imagine how you are planning to make it through a 1351 mouse emulation, since that deals only with some relative movements via SID registers, and will never see the positions. You won't be able to navigate it to any direct X/Y coordinates. It depends on the user application how it reads and calibrates those movements.

The lightpen however is almost exactly the same direct pointing device as the touch screen. It can even be much easier programmed on the user application side (just set up an IRQ and read it).

Another disadvantage of the mousing is that it requires some sprites on screen (whereas lightpen not).

Perhaps a nice compromise could be to have a "hypermouse" which should be a USB mouse (or a USB keyboard at the numpad cursor keys) transparently controlled by the FPGA hypervisor in the background and visible independently of the VIC screen (likewise the onscreen keys), but not recognized by the user program until any left/right clicks are done (which are translated to lightpen events, too). The WinVICE emulator makes it also in this way, so thus you might run a C64 program in a window "shell" as if it were a native Windows application seemingly (controlled from the "outside").

append delete #5. LGB

Indeed, it's interesting. Mouse emulation can be useful for stock "with real mouse" like scenario (or for the emulation front, with Xemu, btw Xemu already has rudimentary "first-try" class mouse emulation - and seems to work _somewhat_ with BASIC v10 mouse related functions), but I also feel that for touchscreen, some would need absolute coordinates, where light pen exactly fits to.

append delete #6. Daniël Mantione

The 1351 sends an *absolute* mouse position, but it is only 6 bit. The C64 has to convert this into a relative movement, and then apply this relative movement to the absolute mouse position on the screen.

It's quite complex but also powerfull: The mouse polling rate is completely up to the application, up to a maximum up 2KHz which should be enough. Most programs handle the mouse in an interrupt, so it is polled 50 times per second and if done in a raster interrupt perfect VSYNC.

This was something not possible on PC's for a long time: Serial mice can only do 20-30Hz depending on the exact protocol. Only with USB mice we can poll the mouse at a high frequency up to many 100Hz per second, but still, the optical sensor in modern mice often sends relative movements at a fixed frequency, neutralizing the effect of high frequency polling.

If you use a 1351 you usually notice how smooth it is. I still have the impression that many low-cost PC mice are inferior, allthough with a good "gaming" mouse, the PC experience can also be quite good nowadays.

append delete #7. Daniël Mantione

Because the absolute mouse position that the 1351 sends is only 6 bits, there is no way to clothe a touchscreen as a mouse: Even if you try to calibrate the position, there is no way to signal a movement more than 32 pixels in one go, which can happen with a touchscreen for example if you first touch the upper-left corner and then the bottom-right corner.

Exposing it as lightpen is the right approach, and has the advantage that there already exists software that supports this. For example, there exist lightpen drivers for Geos, possibly one of the most prominent pieces of software where you may want to use a touchscreen.


(Leave this as-is, it’s a trap!)

There is no need to “register”, just enter the same name + password of your choice every time.

Pro tip: Use markup to add links, quotes and more.

Your friendly neighbourhood moderators: Deft, gardners, MARCOM