Page 1 of 1

Wozniak's Sweet 16 - Non Apple users? Alternatives?

Posted: Thu May 22, 2003 12:04 am
by dilettante
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?).

Posted: Thu May 22, 2003 2:24 pm
by Memblers
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.

Re: Wozniak's Sweet 16 - Non Apple users? Alternatives?

Posted: Sat May 24, 2003 3:30 am
by Mike Naberezny
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?).
Hi,

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

Re: Wozniak's Sweet 16 - Non Apple users? Alternatives?

Posted: Sun May 25, 2003 7:55 pm
by cas
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?).
Hi,

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
Hi,

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

Re: Wozniak's Sweet 16 - Non Apple users? Alternatives?

Posted: Sun May 25, 2003 11:24 pm
by Mike Naberezny
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.
Hi Carsten,

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

Posted: Mon May 26, 2003 7:58 am
by cas
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....

Best regards

Carsten

Posted: Tue May 27, 2003 11:58 pm
by Mike Naberezny
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....
Carsten,

That sounds great. E-mail me when you're ready and I'll get you started.

Regards,
Mike