Author Topic: Writing an Emulator  (Read 10775 times)

0 Members and 1 Guest are viewing this topic.

SirCmpwn

  • Guest
Writing an Emulator
« on: April 28, 2010, 08:51:34 am »
Hello,
So, not to start another project, but I've been thinking about having this one on the (very far) side.  I want to write an 83+ emulator for my Zune.  Where can I find information about all of the hardware on a TI-83+?  In detail?  Also, all of the opcodes and thier descriptions, including undocumented ones?

Offline Galandros

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1140
  • Rating: +42/-10
    • View Profile
Re: Writing an Emulator
« Reply #1 on: April 28, 2010, 09:00:04 am »
First the z80 processor:
See the z80 documentation from zilog. (search it)
An instruction set, like calcmaniac84 one: http://www.ticalc.org/archives/files/fileinfo/427/42722.html
(it has all opcodes, flags and what it does)


For the TI-83+ hardware:
See in WikiTI general information about TIOS memory layout and ports:
http://wikiti.brandonw.net/index.php?title=Calculator_Documentation

I saw a post in Maxcoderz from benryves saying the minimal ram, rom and ports behaviour to boot the TI-83+ OS. Maybe in a help thread or PindurTI thread.

You can always see the Wabbitemu, PindurTI and other emulators source code.

Good luck.
Hobbing in calculator projects.

Offline willrandship

  • Omnimagus of the Multi-Base.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2953
  • Rating: +98/-13
  • Insert sugar to begin programming subroutine.
    • View Profile
Re: Writing an Emulator
« Reply #2 on: April 28, 2010, 09:08:51 am »
If you're good at reading source code, you might want to check out the source code of one. I don't know if your zune will be powerful enough, though, how much power does it have?

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: Writing an Emulator
« Reply #3 on: April 28, 2010, 10:21:21 am »
WabbitEmu and PTI source code is available?

Offline calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2912
  • Rating: +471/-17
    • View Profile
    • TI-Boy CE
Re: Writing an Emulator
« Reply #4 on: April 28, 2010, 10:43:28 am »
WabbitEmu and PTI source code is available?
I know WabbitEmu is open source, not sure about PTI though (I doubt it). Though Revsoft is currently down, so you can't get Wabbit's source that way right now.
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

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: Writing an Emulator
« Reply #5 on: April 28, 2010, 10:45:45 am »
Aaaah ok

I hope RS gets back up x.x

Offline Galandros

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1140
  • Rating: +42/-10
    • View Profile
Re: Writing an Emulator
« Reply #6 on: April 28, 2010, 03:16:19 pm »
Tilem is another open source.

Yes, PindurTI is open source. You can find here: http://sgate.emt.bme.hu/patai/programs/pindurti/

Aaaah ok

I hope RS gets back up x.x
Madskillz is working on it. I hope it gets up too.
« Last Edit: April 28, 2010, 03:22:50 pm by Galandros »
Hobbing in calculator projects.

SirCmpwn

  • Guest
Re: Writing an Emulator
« Reply #7 on: April 28, 2010, 04:44:56 pm »
I don't know if your zune will be powerful enough, though, how much power does it have?

To emulate an 8-bit, 8Mgz proccessor?  It uses a 32 bit 399Mgz ARM proccessor with 16 MB of RAM available to my emulator, along with up to 4 GB of storage for anything else I might need.  It has a 320x240 full color LCD screen and runs windows binaries that are coded under XNA.  It can handle a TI-83+.

Offline calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2912
  • Rating: +471/-17
    • View Profile
    • TI-Boy CE
Re: Writing an Emulator
« Reply #8 on: April 28, 2010, 04:46:18 pm »
You might want to port WabbitDS, it was written for an ARM processor and it's fairly simple.
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

SirCmpwn

  • Guest
Re: Writing an Emulator
« Reply #9 on: April 28, 2010, 04:52:19 pm »
Well, it needs to be in .NET, because that is the only code that the Zune will accept.  I'm thinking of using Ben Ryves Stetson emulator, which I belive is in .NET.

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: Writing an Emulator
« Reply #10 on: April 28, 2010, 05:40:57 pm »
I don't know if your zune will be powerful enough, though, how much power does it have?

To emulate an 8-bit, 8Mgz proccessor?  It uses a 32 bit 399Mgz ARM proccessor with 16 MB of RAM available to my emulator, along with up to 4 GB of storage for anything else I might need.  It has a 320x240 full color LCD screen and runs windows binaries that are coded under XNA.  It can handle a TI-83+.
Oh not to nitpick on spelling too much, but I wanted to point it out in case you would post it on a place like Cemetech where they're uptight about grammar, but assuming you mean megahertz, it's MHz, not Mgz. :P (just saying as you used Mgz yesterday on IRC)
« Last Edit: April 28, 2010, 05:41:27 pm by DJ Omnimaga »

SirCmpwn

  • Guest
Re: Writing an Emulator
« Reply #11 on: April 28, 2010, 05:42:03 pm »
Woops, I misspelled it this morning and have not been able to spell it right all day.  MHz, MHz, MHz, Mgz, MHz... wait, dammit!

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: Writing an Emulator
« Reply #12 on: April 28, 2010, 05:43:31 pm »
lol ok :P

just wanted to point it out :P

I also noticed several people uses nSpire, while in fact it's Nspire :P

Offline willrandship

  • Omnimagus of the Multi-Base.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2953
  • Rating: +98/-13
  • Insert sugar to begin programming subroutine.
    • View Profile
Re: Writing an Emulator
« Reply #13 on: April 28, 2010, 09:16:11 pm »
I've never really been sure. Thanks for pointing it out!

SirCmpwn

  • Guest
Re: Writing an Emulator
« Reply #14 on: April 28, 2010, 09:29:32 pm »
So, writing an emulator has become porting an emulator.  I got ahold of the source code for Ben Ryves Stetson, a C# based emulator for the TI-83+.  I'm porting it to my Zune as soon as I get the time.