Is anybody using the 16-bit arithmetic micro-interpreter that Woz developed for the Apple II in their own software on other 65xx systems?
Is is obsolete? Too funky? Are there better alternatives? Anyone know the status of Apple's 1977 Copyright? Does the 65C816 totally obsolete it?
Source listing, two text articles at:
http://members.buckeye-express.com/marksm/6502/
I don't see it mentioned here in the forum, and it isn't in the source code repository of 6502.org (maybe Copyright issues?).
Wozniak's Sweet 16 - Non Apple users? Alternatives?
-
dilettante
- Posts: 25
- Joined: 10 May 2003
- Location: Haslett, Michigan, USA
It seems a bit.. strange. Apparently it was in the Apple ]['s ROM, so I can how it could be useful on that platform. Seems like an interesting concept, though.
But I don't know how it would be useful in a developed 'from scratch' program. If anyone has any ideas, I'd like to hear them.
Maybe it's a case of memory savings, at the cost of CPU cycles..? Working on NES software, I'm used to taking the opposite approach. I've got little time, and memory to burn.
For many of those 16-bit functions, I've developed macros to use, rather than subroutines.
But I don't know how it would be useful in a developed 'from scratch' program. If anyone has any ideas, I'd like to hear them.
Maybe it's a case of memory savings, at the cost of CPU cycles..? Working on NES software, I'm used to taking the opposite approach. I've got little time, and memory to burn.
For many of those 16-bit functions, I've developed macros to use, rather than subroutines.
- Mike Naberezny
- Site Admin
- Posts: 296
- Joined: 30 Aug 2002
- Location: Northern California
- Contact:
Re: Wozniak's Sweet 16 - Non Apple users? Alternatives?
dilettante wrote:
I don't see it mentioned here in the forum, and it isn't in the source code repository of 6502.org (maybe Copyright issues?).
The main reason is that the source code repository aims to supply only generic 6502 code, without platform specific hooks. This way the code is useful for everyone (especially homebuilders). If someone were to take the Sweet 16 code and remove the Apple II hooks, I'd be happy to include it. This also goes for everything else that may have originated on a certain platform but could be adapted for everyone's benefit.
Best Regards,
Mike
- Mike Naberezny (mike@naberezny.com) http://6502.org
Re: Wozniak's Sweet 16 - Non Apple users? Alternatives?
mnaberez wrote:
dilettante wrote:
I don't see it mentioned here in the forum, and it isn't in the source code repository of 6502.org (maybe Copyright issues?).
The main reason is that the source code repository aims to supply only generic 6502 code, without platform specific hooks. This way the code is useful for everyone (especially homebuilders). If someone were to take the Sweet 16 code and remove the Apple II hooks, I'd be happy to include it. This also goes for everything else that may have originated on a certain platform but could be adapted for everyone's benefit.
Best Regards,
Mike
I don't see any platform specific code in Sweet 16 besites the zp memory locations. I've done a port to the ATARI 8bit --> http://atariwiki.de/wiki/Wiki.jsp?page=Sweet%2016
and it runs without modification besides the zp registers.
It's really generic code and useful.
Best reagrds
Carsten
Last edited by cas on Wed Oct 02, 2013 2:00 am, edited 1 time in total.
- Mike Naberezny
- Site Admin
- Posts: 296
- Joined: 30 Aug 2002
- Location: Northern California
- Contact:
Re: Wozniak's Sweet 16 - Non Apple users? Alternatives?
Quote:
I don't see any platform specific code in Sweet 16 besites the zp memory locations. I've done a port to the ATARI 8bit --> http://www.strotmann.de/twiki/bin/view/ ... eetSixteen
and it runs without modification besides the zp registers.
It's really generic code and useful.
and it runs without modification besides the zp registers.
It's really generic code and useful.
Would you be interested in writing a short article to go along with the code that would describe the ZP locations and how to port Sweet 16? If we could offer the code along with some porting instructions for the user I think it would be great to add it to the Source Code Repository.
Best Regards,
Mike
- Mike Naberezny (mike@naberezny.com) http://6502.org
- Mike Naberezny
- Site Admin
- Posts: 296
- Joined: 30 Aug 2002
- Location: Northern California
- Contact:
cas wrote:
Hi Mike,
yes, I can do write some information about porting Sweet 16. I'm very busy in the moment, so it can take up to three weeks. If you can wait that long....
yes, I can do write some information about porting Sweet 16. I'm very busy in the moment, so it can take up to three weeks. If you can wait that long....
That sounds great. E-mail me when you're ready and I'll get you started.
Regards,
Mike
- Mike Naberezny (mike@naberezny.com) http://6502.org