Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 10:39 25 Nov 2024 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : Pico emulates a Apple Mac 128k

Author Message
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 6783
Posted: 06:46pm 18 Jun 2024
Copy link to clipboard 
Print this post

Found on The Register
Linky
and the web site for it
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs & my PCB designs
 
EDNEDN
Senior Member

Joined: 18/02/2023
Location: United States
Posts: 118
Posted: 07:46pm 18 Jun 2024
Copy link to clipboard 
Print this post

Very cool...     I would love for somebody to do the same thing for a DEC Terak computer!   Terak_8510/a

This computer was used by a lot of university Computer Science departments to teach programming.   The University of California San Diago open sourced their UCSD Pascal for it as a teaching aid.  (This is the same code base used for Apple Pascal on the Apple 2e)

The compiler needed more memory than was available so the Terak port of the compiler would grab the bit mapped screen memory and as the compiler got nested deeper and deeper into the various program blocks you would see the bits flickering on the screen.  The flickering (and random pixels on the screen) would move up and down depending on how much storage the compiler needed for the current program blocks.
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 6783
Posted: 08:19pm 18 Jun 2024
Copy link to clipboard 
Print this post

Sorry, you'll need a Raspberry Pi for that. ;)
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs & my PCB designs
 
PhenixRising
Guru

Joined: 07/11/2023
Location: United Kingdom
Posts: 857
Posted: 10:11pm 18 Jun 2024
Copy link to clipboard 
Print this post

Thanks Mick. I needed this article  

People around me think I'm going bonkers because they don't understand what I do.

Thanks to Volhout making the quad decode PIO work, I'm realising what I thought was impossible.
People hear me giggling and they suspect that I have found something amusing online and then I tell them that no, it's just what the PicoMite is doing  

I forwarded the link to all of them  
 
al18
Senior Member

Joined: 06/07/2019
Location: United States
Posts: 205
Posted: 04:11am 19 Jun 2024
Copy link to clipboard 
Print this post

It’s a demo.

Those that have been into computing for decades knows that reference.

If you really want to emulate a 128K Mac, Mac Plus or a Mac II - use a Raspberry Pi Zero 2w (quad core 1 GHz) which costs $15
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9306
Posted: 04:32am 19 Jun 2024
Copy link to clipboard 
Print this post

Very clever!    
Smoke makes things work. When the smoke gets out, it stops!
 
andreas

Senior Member

Joined: 07/12/2020
Location: Germany
Posts: 206
Posted: 06:15am 19 Jun 2024
Copy link to clipboard 
Print this post

  Mixtel90 said  Found on The Register
Linky
and the web site for it


Many thanks for that article!
-andreas
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 6783
Posted: 06:51am 19 Jun 2024
Copy link to clipboard 
Print this post

  al18 said  It’s a demo.

Those that have been into computing for decades knows that reference.

If you really want to emulate a 128K Mac, Mac Plus or a Mac II - use a Raspberry Pi Zero 2w (quad core 1 GHz) which costs $15


I wouldn't say it's a demo as such, but he himself admits that it's pretty rough. It is, however, enough to run a couple of genuine applications from that period. But hey, the clever bit is that he's managed to get it to run on a Pico at all, even if it is an emulation of the first Macintosh 128k - not a Mac Plus or Mac II.
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs & my PCB designs
 
al18
Senior Member

Joined: 06/07/2019
Location: United States
Posts: 205
Posted: 06:16pm 19 Jun 2024
Copy link to clipboard 
Print this post

I’ll admit it’s a very clever program, but why go thru the trouble of making a Mac emulator without the ability to load Mac disk images?
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 6783
Posted: 06:36pm 19 Jun 2024
Copy link to clipboard 
Print this post

The original Macintosh 128k had a single floppy drive. The emulation includes emulation of this because it simply isn't possible to connect a floppy drive to the Pico. Anyway, where would you get a new one? It's a weird drive with a weirder control chip that you can't get.

The instructions give you details of where to get the image files and compile them into the uf2 ready for loading into the Pico. This is something you have to build.

It's a toy at the end of the day. If you want a closer emulation then do it on a PC or on another Mac. Even better, get the original hardware - it's guaranteed to be 100% compatible with all the Macintosh 128k software. :)
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs & my PCB designs
 
EDNEDN
Senior Member

Joined: 18/02/2023
Location: United States
Posts: 118
Posted: 07:01pm 19 Jun 2024
Copy link to clipboard 
Print this post

The fact you cannot connect a floppy disk drive is almost a non-issue.   There are many good CP/m emulators that people continue to use.   And you just point the emulator at floppy disk images that have been captured using an actual floppy disk drive.

These same CP/m emulators are much more useable than the original hardware because floppy disks were very limited in how much storage capacity they had.  The original 8" floppies had 125 Kb of storage.   But with the emulator you can point it at a 10 or 20 megabyte image.    It used to be building large programs would require the user to swap floppies back and forth to give the compiler the information it needed.   With the ability to just point the emulator at a larger disk image those problems go away.

If I were to do any work to improve the Mac emulator on a Pico I would probably give it access to disk image files saved on an SD-Card.   I don't want to build a new .uf2 image with the data set I'm going use.   Rather...   I would want to be able to plug in an SD-Card with images of useful floppy disks.

But that thought isn't meant as criticism of the author's current work. The fact you currently need to build a floppy disk image into the firmware is just an indication of where the author currently is with the development process.   And giving the Mac emulator the intelligence to access floppy image files off of an SD-Card is almost trivial.
 
Print this page


To reply to this topic, you need to log in.

© JAQ Software 2024