News for hackers. Stuff that matters.
Re:Turning the Arduino Uno into an Apple II by reidrac on Monday April 06, 2015 @04:54PM (#9330639)
Great project! I released my own Arduino based microcomputer today and it is interesting that we implemented similar things in a different way (eg, I implemented composite video and not VGA; how different would have been my project if I had gone the other way!).

I discarded early on emulating a complete machine, so I just emulated the 6502 CPU and focused on getting CC65 cross-compiler working with my machine. I'm impressed you managed to emulate the Apple II. Kudos!

Re:Turning the Arduino Uno into an Apple II by dpeckett on Monday April 06, 2015 @08:34PM (#9331420)
Awesome work, your avr computer is really impressive! So similar and yet so different! Emulating the Apple II was relatively easy, not a lot of extra hardware.

Haven't tried cross compiling anything yet, sounds really cool. Nice work on the Mandelbrot demo!

Re:Turning the Arduino Uno into an Apple II by reidrac on Tuesday April 07, 2015 @02:47AM (#9332341)
You shouldn't have any problems with CC65 (specially if you're emulating the Apple II!). In my case it took a good amount of work just to get a "hello world" using printf ;)

And re:Mandelbrot... thanks! it took 2 hours and 13 minutes to render that Mandelbrot in ascii :) Because my design with external SRAM I have around 2.2464MHz free after dealing with the video generation (composite video timing is so expensive!), but the extra overhead of the compiler has to be added on top of that (plus fixed float point numbers in a 6502 emulated in an AVR...).

Re:Turning the Arduino Uno into an Apple II by dpeckett on Monday April 06, 2015 @09:35PM (#9331568)
Author here, this is one post out of a series http://dpeckett.com, if this stuff interests you, feel free to follow my twitter: https://twitter.com/damianpeckett.
Re:Turning the Arduino Uno into an Apple II by irascible on Tuesday April 07, 2015 @02:35AM (#9332311)
Very neat project. Also, your vga tricks are really really cool. I havn't seen anything like it but I feel like it should be much more visible!
Re:Turning the Arduino Uno into an Apple II by aceperry on Monday April 06, 2015 @07:20PM (#9331247)
"Emulating the 6502 is in itself is a significant undertaking so this phase took on the order of a week or two."

Don't know if the author was bragging or what, but it reminds me of the fact that Woz designed and created all of the hardware and software for the original Apple and Apple II. Nicely done for it's time. I wonder if anyone can create something would be equivalent to today's systems.

Re:Turning the Arduino Uno into an Apple II by dpeckett on Monday April 06, 2015 @07:57PM (#9331344)
Author here. I meant that in earnest, getting the emulator 6502 compatible was a large part of the project. But it did come together in about ten days, on the order of 70 hours.

There's something about these old systems, you can fit the whole system into your mental working memory. Just can't do that with todays abstractions.

Re:Turning the Arduino Uno into an Apple II by reidrac on Tuesday April 07, 2015 @02:35AM (#9332312)
The 6502 is a beautiful CPU, but is really simple too. I took me 5 days (let's say 10 hours) to get my 6502 VM working and passing Klaus Dormann's functional tests.
Re:Turning the Arduino Uno into an Apple II by PebblesHD on Monday April 06, 2015 @07:39PM (#9331306)
Now if only someone could get Arch running on a toaster... Seriously impressive work, and as ever a fascinating explanation!
Re:Turning the Arduino Uno into an Apple II by aceperry on Monday April 06, 2015 @07:12PM (#9331224)
This is seriously nice. We keep hearing about how much more powerful today's processors are compared to yesterday's stuff. Here is a project that demonstrates that power.
Re:Turning the Arduino Uno into an Apple II by jonathanoliver on Monday April 06, 2015 @10:30PM (#9331706)
But can I play The Oregon Trail on it?
Re:Turning the Arduino Uno into an Apple II by cranklin on Monday April 06, 2015 @07:00PM (#9331181)
This is great!