Author Topic: Intel CPU Emus  (Read 5301 times)

0 Members and 1 Guest are viewing this topic.

Offline linuxgeek96

  • LV3 Member (Next: 100)
  • ***
  • Posts: 99
  • Rating: +4/-0
  • ( ͡° ͜ʖ ͡°)
    • View Profile
    • Personal Site
Intel CPU Emus
« on: July 24, 2012, 10:25:08 am »
Attached is the alpha source code of an Axe program for emulating the 4004 microprocessor by Intel. Enjoy! EDIT: The program has a bug: please remove the Pic2-6 sotred to Str1 so it works :P
« Last Edit: July 24, 2012, 10:26:42 am by linuxgeek96 »

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Intel CPU Emus
« Reply #1 on: July 24, 2012, 11:16:52 pm »
That is rather interesting. Too bad there aren't much 4004 programs it seems. I wonder if more processors could be emulated?

Offline calcdude84se

  • Needs Motivation
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2272
  • Rating: +78/-13
  • Wondering where their free time went...
    • View Profile
Re: Intel CPU Emus
« Reply #2 on: July 24, 2012, 11:58:51 pm »
Reminds me of CalcDOS - an x86 Emulator. (Only linked for grins and giggles, as the program isn't very functional.)
I think it's an interesting general question what old hardware we can readily emulate on the 83+ series. I don't know enough to suggest any candidates, but I'm sure something interesting could be done. 15MHz is relatively powerful. Even the 83+'s 6.
"People think computers will keep them from making mistakes. They're wrong. With computers you make mistakes faster."
-Adam Osborne
Spoiler For "PartesOS links":
I'll put it online when it does something.

Offline TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
Re: Intel CPU Emus
« Reply #3 on: July 25, 2012, 12:19:55 am »
I think there is a Spectrum emulator floating around somewhere in Ticalc's archives. Other old z80 computers and devices should be doable as well. Its also worth mentioning that the intel 8080(with some z80 instructions) is already being emulated on the 83+/84+ series in Calc84maniac's Ti-Boy.

Offline linuxgeek96

  • LV3 Member (Next: 100)
  • ***
  • Posts: 99
  • Rating: +4/-0
  • ( ͡° ͜ʖ ͡°)
    • View Profile
    • Personal Site
Re: Intel CPU Emus
« Reply #4 on: July 25, 2012, 09:04:23 am »
okay, I'm starting the 8008 today, the 8080 will be for tomorrow (glad to see there already is one), and 8086 is day after. They all seem to be similar enough to modify the last (i.e. no complete rewrite necessary). The 8008 is actually easier than the 4004, because axe is more inclined to bytes than nibbles :) Thanks for the support,

linuxgeek96

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Intel CPU Emus
« Reply #5 on: July 25, 2012, 08:54:22 pm »
Oh wow, 8086. Isn't that from the 286/386/486 computer family? I am curious if there are native softwares to emulate for those, as demo... :D

Also what would be cool is a PC-88 or FM77AV emulator. Even without sound it would be cool, because there are quite a few great games for those. Judging by how laggy they were (for example, Ys I and II ran at 8 FPS instead of 60 on the NES) I'm betting it might not be hard to emulate, unless they're weird like the Atari 2600 processor. Of course the screen size (and lack of colors) would be an issue, though.



Those are not processors but rather computers, though. And if the above is too much for a little z80 calc, maybe this could do? :P (I think it only supports 8 colors at once)

« Last Edit: July 25, 2012, 09:22:47 pm by DJ_O »

Offline linuxgeek96

  • LV3 Member (Next: 100)
  • ***
  • Posts: 99
  • Rating: +4/-0
  • ( ͡° ͜ʖ ͡°)
    • View Profile
    • Personal Site
Re: Intel CPU Emus
« Reply #6 on: July 26, 2012, 09:56:59 am »
I worked on it for a while yesterday, so all that is left is I/O instructions (plus a small lookup table). Perhaps an upload of the 8008 later today...Show of hands, who wants me to skip to another architecture (like DJ_O's suggestion)?

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Intel CPU Emus
« Reply #7 on: July 26, 2012, 02:00:16 pm »
Can't wait to see the 8008 one. Also I voted in the poll. :)

I would like Atari but I heard it was very hard to emulate and that this is why there are so few emulators out there and not many great quality games, so I went with PC-88 which had more game choices (although most are in Japanese)

But of course I guess you would need to find documentation and stuff first, which I hope it exists D:
« Last Edit: July 26, 2012, 02:01:46 pm by DJ_O »

Offline linuxgeek96

  • LV3 Member (Next: 100)
  • ***
  • Posts: 99
  • Rating: +4/-0
  • ( ͡° ͜ʖ ͡°)
    • View Profile
    • Personal Site
Re: Intel CPU Emus
« Reply #8 on: July 26, 2012, 02:01:06 pm »
will upload when I get home, as I can't connect to my 84+ through Tilp II (Linux). Dunno why.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Intel CPU Emus
« Reply #9 on: July 26, 2012, 02:04:16 pm »
Ah ok. HOpefully it's nothing too bad. I hate when connection issues happen because they're hard to solve.

Offline linuxgeek96

  • LV3 Member (Next: 100)
  • ***
  • Posts: 99
  • Rating: +4/-0
  • ( ͡° ͜ʖ ͡°)
    • View Profile
    • Personal Site
Re: Intel CPU Emus
« Reply #10 on: July 26, 2012, 02:06:10 pm »
For those who want the PC-88 emu, I really can't think of a way to do it on the 84+. However, the nSpire is an option...

Offline Juju

  • Incredibly sexy mare
  • Coder Of Tomorrow
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 5730
  • Rating: +500/-19
  • Weird programmer
    • View Profile
    • juju2143's shed
Re: Intel CPU Emus
« Reply #11 on: July 26, 2012, 02:12:29 pm »
I would like to see a PC-88 emulator, but I fear it would be too much for the z80.

Remember the day the walrus started to fly...

I finally cleared my sig after 4 years you're happy now?
THEGAME
This signature is ridiculously large you've been warned.

The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on Facebook and Tumblr.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Intel CPU Emus
« Reply #12 on: July 26, 2012, 03:09:17 pm »
Actually I don't think it would be too bad, because the games, if you notice in the videos, runs at like 8 FPS, supports 8 colors or so and it seems even less powerful than a NES or GB. The only concern I have is that games would have to run from Archive so if you're not experienced with dealing with flash memory, then it might be problematic. Also the screen is like 320x200 if I remember, so some games might not be easy to play. TI Boy didn't fit the screen either, but the resolution was much smaller than the PC-88, so zooming out didn't destroy the graphics too much.

A PRIZM/Nspire C version would be nice, though. The Nspire is 320x240 and the PRIZM 384x216. Or of course there are 68K calcs, which begins at half the PC-88 resolution (160x100), but the audience might be smaller.
« Last Edit: July 26, 2012, 03:10:26 pm by DJ_O »

Offline calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2912
  • Rating: +471/-17
    • View Profile
    • TI-Boy CE
Re: Intel CPU Emus
« Reply #13 on: July 26, 2012, 04:21:54 pm »
Hmm, maybe PC-8001 might be better since it has 8-color 160x100 resolution, only 16KB/32KB RAM, and generally seems more approachable. Most PC-88 games apparently run at 640x200 resolution.

Edit: Actually, I think that's 16KB+32KB RAM. I think all these computers are a bit out of the RAM limits of most 84+ models these days.
« Last Edit: July 26, 2012, 04:26:23 pm by calc84maniac »
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

Offline linuxgeek96

  • LV3 Member (Next: 100)
  • ***
  • Posts: 99
  • Rating: +4/-0
  • ( ͡° ͜ʖ ͡°)
    • View Profile
    • Personal Site
Re: Intel CPU Emus
« Reply #14 on: July 26, 2012, 04:40:08 pm »
in theory, I could use 3 16KB ramdisks, with archive swapping.