6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Fri Nov 22, 2024 11:57 am

All times are UTC




Post new topic Reply to topic  [ 16 posts ]  Go to page 1, 2  Next
Author Message
PostPosted: Fri Jul 10, 2015 3:20 pm 
Offline

Joined: Sun Jun 20, 2010 6:31 pm
Posts: 7
Hello!

It's been a while since I last visited!

Are there any 6502 simulators for iOS? An app that would let me write assembly code in it and have it run on an emulated machine. Kinda like 6502asm.com, but as an app. I don't imagine there are many, if at all, but I figured I'd ask. Google didn't reveal anything obvious.

Thanks!
Shawn


Top
 Profile  
Reply with quote  
PostPosted: Fri Jul 10, 2015 3:37 pm 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10985
Location: England
I'd add easy6502 for the in-browser experience, but I don't know of a native app. You're most likely to find a games emphasis rather than a programming emphasis, I expect.
(There are more in-browser emulators: see here for a curated selection, and here on this site of course.)


Top
 Profile  
Reply with quote  
PostPosted: Sat Jul 11, 2015 2:17 am 
Offline

Joined: Tue Jul 24, 2012 2:27 am
Posts: 679
Does Apple still have rules about not allowing end-user coding in their published apps? I know some retro computer emulators ran afoul of this in the past, so that might affect the situation.

_________________
WFDis Interactive 6502 Disassembler
AcheronVM: A Reconfigurable 16-bit Virtual CPU for the 6502 Microprocessor


Top
 Profile  
Reply with quote  
PostPosted: Mon Aug 10, 2020 2:30 pm 
Offline

Joined: Tue Jul 07, 2020 10:35 am
Posts: 40
Location: Amsterdam, NL
I know this thread is really old but I have built a 65C02 simulator for iPadOS. I have not actually submitted it for review as there are still plenty of things that are missing (assembling, disassembling, syntax highlighting) and I am concerned about apple simply rejecting it, but I have added some pretty major limitations to hopefully mitigate some of that risk, namely:

• this is a learning tool, it is not meant to play commodore or NES games, so the only code it will run, is code I have included or code you write yourself
• it does not simulate cycle count or speed. it doesn't even "run", it does single stepping only
• it has only one system definition (devices, memory layout, etc) pre-defined by me, largely focused around the Ben Eater (and therefore Garth Wilson) sytem layout

In the future, I hope to be able to lift some (but definitely not all) of these restrictions. Again, my focus is on testing my own code, not trying to run abandonware, that focus will not change. But if anyone is interested in trying it (provided they approve my Test Flight beta) DM me :)

Included is a current screenshot of the debugging view


Attachments:
IMG_2941FB935914-1.jpeg
IMG_2941FB935914-1.jpeg [ 759.5 KiB | Viewed 5971 times ]
Top
 Profile  
Reply with quote  
PostPosted: Mon Aug 10, 2020 2:56 pm 
Offline

Joined: Sun Jun 20, 2010 6:31 pm
Posts: 7
Nice! Keep going!


Top
 Profile  
Reply with quote  
PostPosted: Sat May 01, 2021 4:57 pm 
Offline

Joined: Wed Feb 17, 2021 6:54 am
Posts: 69
Procrastin8 wrote:
I know this thread is really old but I have built a 65C02 simulator for iPadOS. I have not actually submitted it for review as there are still plenty of things that are missing (assembling, disassembling, syntax highlighting) and I am concerned about apple simply rejecting it, but I have added some pretty major limitations to hopefully mitigate some of that risk, namely:

• this is a learning tool, it is not meant to play commodore or NES games, so the only code it will run, is code I have included or code you write yourself
• it does not simulate cycle count or speed. it doesn't even "run", it does single stepping only
• it has only one system definition (devices, memory layout, etc) pre-defined by me, largely focused around the Ben Eater (and therefore Garth Wilson) sytem layout

In the future, I hope to be able to lift some (but definitely not all) of these restrictions. Again, my focus is on testing my own code, not trying to run abandonware, that focus will not change. But if anyone is interested in trying it (provided they approve my Test Flight beta) DM me :)

Included is a current screenshot of the debugging view


There is this on the App Store, been there for a decade already

http://alsoftiphone.com/i41CXplus/

and it allows full featured programming. It is an excellent emulation of that calculator platform. It's basically a little computer, not really calculator.

For an iPad/iPhone 6502 emulator, especially if I were to pay money for it (and if you go that route please make a PRO and a LITE version instead of in-app purchases that I need to "Restore Purchase" for new installs), I would want a decent text editor and assembly functions, and debugging of course. Just as simple as the web-based Easy6502, with basic keyboard input and simple memory-mapped graphics.

Actually recreating the AIM-65 would be cool, including thermal printer. Look at the above app for its excellent thermal printer simulator. I talked to the author before, and he said he actually had to carefully look at the colors that came out of real thermal paper to try and reproduce it. His app is a work of art and labor of love. Very detailed reproduction/emulation.


Top
 Profile  
Reply with quote  
PostPosted: Sat Jul 10, 2021 7:33 am 
Offline
User avatar

Joined: Fri Jul 09, 2021 5:37 pm
Posts: 1
I'm guessing the author of this app is not on this forum, or they might have spoken up already, but there's an iOS app in the App Store called "VirtualKIM" that will emulate a 6502, with a keypad + 7-seg LEDs (KIM-1) or in terminal mode (KIM-1 or Apple-1). The author just added a basic assembler in the latest release.

https://apps.apple.com/us/app/virtualki ... mpt=uo%3D4

It's a free app.


Top
 Profile  
Reply with quote  
PostPosted: Sat Jul 10, 2021 11:07 am 
Offline
User avatar

Joined: Sun Dec 27, 2020 11:12 pm
Posts: 94
Location: France
spicyjack wrote:
It's a free app.


The app looks good, it’s a pity it’s only for iOS 14...

_________________
Jonathan Foucher

Take a look at the Planck 6502 computer.


Top
 Profile  
Reply with quote  
PostPosted: Sat Jul 10, 2021 12:32 pm 
Offline
User avatar

Joined: Fri Dec 11, 2009 3:50 pm
Posts: 3367
Location: Ontario, Canada
Welcome, spicyjack ! Thanks for sharing that with us.

-- Jeff

_________________
In 1988 my 65C02 got six new registers and 44 new full-speed instructions!
https://laughtonelectronics.com/Arcana/ ... mmary.html


Top
 Profile  
Reply with quote  
PostPosted: Sun Jul 11, 2021 3:04 am 
Offline
User avatar

Joined: Tue Mar 05, 2013 4:31 am
Posts: 1385
jfoucher wrote:
spicyjack wrote:
It's a free app.


The app looks good, it’s a pity it’s only for iOS 14...


Worse yet, on a Mac machine, it's only written for the newer hardware using the M1 chip. Sadly, Apple is moving away from Intel, so there goes my virtual machine platform in time. By time the transition is over, I'll probably be too old to care.

Also wondering how much additional work it would be (for the author) to upgrade to the 65C02 processor.

_________________
Regards, KM
https://github.com/floobydust


Top
 Profile  
Reply with quote  
PostPosted: Sun Jul 11, 2021 7:29 am 
Offline
User avatar

Joined: Sun Dec 27, 2020 11:12 pm
Posts: 94
Location: France
floobydust wrote:
Also wondering how much additional work it would be (for the author) to upgrade to the 65C02 processor.

In my experience it’s only a few hours because the additional instructions are simple ones. (In c or other “high” level languages. In ARM assembly it would probably take me Infinity time.)

_________________
Jonathan Foucher

Take a look at the Planck 6502 computer.


Top
 Profile  
Reply with quote  
PostPosted: Sat Jul 17, 2021 8:48 am 
Offline
User avatar

Joined: Sun Dec 27, 2020 11:12 pm
Posts: 94
Location: France
So virtualkim looked good. I love the Kim-1 and have built a Kim Uno. You can probably understand my frustration with the app not running on my iPhone 6 (iOS 12). So in the last few days I made a Kim-1 emulator that runs on everything from iOS 9.3. This means you can repurpose even an iPhone 4S to run it! A Kim-1 in your pocket at all times isn’t that great? I have also managed to have it build automatically for Mac OS even though the interface is a bit ugly (10.15 only though :/ but works on intel processors )
If you have a Mac with Xcode you can download the project on my github.
Otherwise well I don’t really know, I don’t feel like paying apple 100€ just to put up this free app... Any suggestions on this front?

The feature set is pretty bare right now, having only the keypad and 6 digits display. The emulation runs at about 7mhz on my phone but there is a way to limit it to 1 MHz

What should I work on next ? A serial terminal or a way to easily upload code to ram ? Do you have any good programs for the Kim-1 that I should include by default ?
Thanks !

Edit: Download the Mac version from here: https://github.com/jfoucher/KimOne/releases/tag/V0.0.1


Attachments:
0D7607FD-F7BC-4C92-BA70-51AAE269F779.png
0D7607FD-F7BC-4C92-BA70-51AAE269F779.png [ 288.25 KiB | Viewed 4267 times ]

_________________
Jonathan Foucher

Take a look at the Planck 6502 computer.
Top
 Profile  
Reply with quote  
PostPosted: Sat Jul 17, 2021 4:43 pm 
Offline

Joined: Sat Jul 03, 2021 4:25 am
Posts: 49
sweet! i have a really old ipod touch just sitting in a drawer ill have to see what version of iOS its running.


Top
 Profile  
Reply with quote  
PostPosted: Sun Jul 18, 2021 10:22 am 
Offline
User avatar

Joined: Sun Dec 27, 2020 11:12 pm
Posts: 94
Location: France
Ohh, great idea, I'l check mine as well ! Although I seem to remember it was much older than that :(

Regarding the application I presented, I have got the serial terminal with tinybasic working!

Next will be a way to upload our own programs to RAM, to replace the tape input of the real KIM-1.

_________________
Jonathan Foucher

Take a look at the Planck 6502 computer.


Top
 Profile  
Reply with quote  
PostPosted: Sun Jul 18, 2021 10:40 am 
Offline
User avatar

Joined: Sun Dec 27, 2020 11:12 pm
Posts: 94
Location: France
Well my ipod touch is a second gen one, with iOS 4. Still works fine though!

_________________
Jonathan Foucher

Take a look at the Planck 6502 computer.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 16 posts ]  Go to page 1, 2  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: