6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Mon May 27, 2024 11:53 am

All times are UTC




Post new topic Reply to topic  [ 8 posts ] 
Author Message
PostPosted: Sun Nov 18, 2012 7:45 am 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10806
Location: England
There's a Q&A here with Don French, the author of a symbolic assembler for the VIC-20 (a 4k RAM machine) which consumed only 1639 bytes:

http://www.mailsend-online.com/blog/?p=93 (Jim Lawless' blog)

Edit: dead link, try this - thanks to Martin_H downthread. Jim's blog is now here but hasn't got this older post.

It might be interesting to see how the code is put together.


Last edited by BigEd on Sat Dec 31, 2022 10:46 pm, edited 1 time in total.

Top
 Profile  
Reply with quote  
PostPosted: Sun Nov 18, 2012 8:00 am 
Offline
User avatar

Joined: Tue Nov 16, 2010 8:00 am
Posts: 2353
Location: Gouda, The Netherlands
The symbolic assembler in the Acorn Atom was less than 1KB, but since it was integrated into the BASIC ROM, it could "cheat" by calling the rest of the ROM for things like expression evaluation, which would have taken up a lot of space otherwise.


Top
 Profile  
Reply with quote  
PostPosted: Sun Nov 18, 2012 8:09 am 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10806
Location: England
Good point! I suppose in this too some ROM routines other than I/O might have been used.

There are other posts on that blog which might be of interest:
http://www.google.co.uk/search?q=site:m ... :blog+6502


Top
 Profile  
Reply with quote  
PostPosted: Sun Nov 18, 2012 8:24 am 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 8193
Location: Midwestern USA
BigEd wrote:
There's a Q&A here with Don French, the author of a symbolic assembler for the VIC-20 (a 4k RAM machine) which consumed only 1639 bytes:

http://www.mailsend-online.com/blog/?p=93 (Jim Lawless' blog)

It might be interesting to see how the code is put together.

Gee, I recall the "French Silk" assembler back in the day. It was a pretty amazing feat of coding to get the thing to fit on the VIC-20 and still have some room for a symbol table and other needed storage. Clearly a demonstration of superior programming skills on Don French's part.

The first Commodore machine I purchased was the C-64 and as soon as it came out, the MADS package. MADS was pretty fast, all things considered, being mostly constrained by the speed of the feeble 1541 floppy disk drive. The first version of it had problems with macros but that was fixed in a later revision. When I moved to a pair of SFD-1001 one MB floppy drives and IEEE-488 interface, assembly times dropped dramatically, since the disk performance was stepped up by a factor of about 5 to 1. Performance on the Lt. Kernal was even more ridiculous, especially once I learned how to hack the LK-DOS kernel to read and write files at the block level (raw throughput was around 38KB/sec on a C-64).

Ah, the good old days! :?

_________________
x86?  We ain't got no x86.  We don't NEED no stinking x86!


Top
 Profile  
Reply with quote  
PostPosted: Thu Dec 29, 2022 9:39 pm 
Offline

Joined: Thu Dec 29, 2022 9:29 pm
Posts: 1
Arlet wrote:
The symbolic assembler in the Acorn Atom was less than 1KB, but since it was integrated into the BASIC ROM, it could "cheat" by calling the rest of the ROM for things like expression evaluation, which would have taken up a lot of space otherwise.


I believe this is inaccurate. The Acorn Atom assembler is not a symbolic assembler. It is a mnemonic assembler, which means that you can use mnemonics like BNE instead of coding the binary or hex value of the BRANCH NOT EQUAL (BNE) opcode. A symbolic assembler uses labels like ComputeTax instead of coding the actual memory address in hex or the offset to the memory address for short instructions. No assembler comes close to doing what The Assembler for the VIC does (or did, since it is no longer available). Thanks for your comment though. And sorry it took me so long to answer this. I didn't realize this forum or your comment even existed until today when I Googled for the article in which the interview with me was published.


Top
 Profile  
Reply with quote  
PostPosted: Fri Dec 30, 2022 9:08 am 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10806
Location: England
Welcome, Don! Good to hear from you.


Top
 Profile  
Reply with quote  
PostPosted: Sat Dec 31, 2022 10:06 pm 
Offline

Joined: Wed Jan 08, 2014 3:31 pm
Posts: 575
The link at the top is now defunct. I followed the link on the page to Jim Lawless new blog and couldn't find a copy there.

Here's a wayback machine link:
https://web.archive.org/web/20120722031 ... blog/?p=93


Top
 Profile  
Reply with quote  
PostPosted: Sat Dec 31, 2022 10:46 pm 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10806
Location: England
Thanks - I've added a note to the head post.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC


Who is online

Users browsing this forum: DavidL, Google [Bot] and 12 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: