6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Sat Nov 23, 2024 5:47 am

All times are UTC




Post new topic Reply to topic  [ 26 posts ]  Go to page Previous  1, 2
Author Message
PostPosted: Sat Mar 09, 2013 3:19 pm 
Offline

Joined: Tue Feb 26, 2013 2:59 pm
Posts: 27
On Windows, many network cards will accept a user defined MAC address. Broadcom is one that often doesn't. If it were me, I would check for this. Look in the device properties for "network address" or "locally administered address" fields. They take a mac as 12 Hex digits. If yours will change, great! If not, buy something that will, then get your license and feel no worries about moving to another machine.

I think this is a pretty good deal BTW.


Top
 Profile  
Reply with quote  
PostPosted: Tue Mar 19, 2013 11:23 pm 
Offline

Joined: Tue Feb 19, 2013 12:29 am
Posts: 32
Location: Marlborough, Ma
I use 64tass macro assembler for free and its open source

http://sourceforge.net/projects/tass64/

I highly recommend it


Top
 Profile  
Reply with quote  
PostPosted: Wed Mar 20, 2013 1:50 am 
Offline

Joined: Tue Jul 24, 2012 2:27 am
Posts: 679
64tass claims it's an "optimizing" assembler. That's a pretty strange claim; it seems to simply do straightforward 1-to-1 assembly like the rest.

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


Top
 Profile  
Reply with quote  
PostPosted: Sun May 26, 2013 2:29 am 
Offline
User avatar

Joined: Tue Mar 05, 2013 4:31 am
Posts: 1385
I seem to have found a bug in WDC's Pro-SDK 65C02 assembler. When using a BRK instruction, the assembler always generates two bytes of hex "00" instead of one. I've contacted WDC and sent them some sample code as well. I stumbled across this when taking Daryl's SBC2OS code and modifying it to assemble under WDC's ProSDK as an exercise. I noticed the code was larger and some fixed addresses were no longer in place. After going thru the listing file, I found the double byte BRK instructions. So far, no feedback from WDC... guess I'll send them a follow-up note and see if they have any insight on this.

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


Top
 Profile  
Reply with quote  
PostPosted: Sun May 26, 2013 2:40 am 
Offline
User avatar

Joined: Fri Dec 11, 2009 3:50 pm
Posts: 3367
Location: Ontario, Canada
It's actually not a bug. BRK is a two-byte instruction -- check the data sheet. Although the chip itself disregards the 2nd byte, it may have significance for software (the BRK handler).

See That BRK instruction...

cheers.
Jeff

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


Last edited by Dr Jefyll on Sun May 26, 2013 3:04 am, edited 2 times in total.

Top
 Profile  
Reply with quote  
PostPosted: Sun May 26, 2013 2:42 am 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8544
Location: Southern California
Still, I would expect it to let you choose what the signature byte will be. If you have more than one BRK, does the signature byte automatically increment? (Actually that doesn't sound like a good solution either. It needs to be user-setable.)

_________________
http://WilsonMinesCo.com/ lots of 6502 resources
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?


Top
 Profile  
Reply with quote  
PostPosted: Sun May 26, 2013 3:10 am 
Offline
User avatar

Joined: Tue Mar 05, 2013 4:31 am
Posts: 1385
Yes, adds some level of confusion and makes some code work on some assemblers and not others (I've not found an option to allow me to change it). Oddly, the old Vic20 programmers guide states that the BRK instruction is 1 byte (no operand). Also, sample code listings in an old book (6502 applications by Rodney Zaks) shows a single "00" opcode and no operand. IIRC my old Commodore 64 Macro Assembler also generates a single "00" for the BRK instruction, hence my initial confusion.

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


Top
 Profile  
Reply with quote  
PostPosted: Tue Jul 16, 2013 2:32 pm 
Offline
User avatar

Joined: Fri Aug 30, 2002 9:02 pm
Posts: 1748
Location: Sacramento, CA
WDC posted this on Facebook yesterday,

"New Version of 65xxTools now available! We have noticed that many did not like our MAC address protected version so of 65xxTools so we have decided to eliminate this barrier. Enjoy!!"

_________________
Please visit my website -> https://sbc.rictor.org/


Top
 Profile  
Reply with quote  
PostPosted: Tue Jul 16, 2013 4:23 pm 
Offline
User avatar

Joined: Fri Aug 30, 2002 9:02 pm
Posts: 1748
Location: Sacramento, CA
I went ahead and purchased this tool kit. It was quick and easy and no issues with MAC address or any other verification. There is a field on the order form for a MAC address but it is optional - just leave it blank. I will play around with it when I get time. I'm interested to see if the C compiler can make a smaller executable of the uIP code.

Daryl

_________________
Please visit my website -> https://sbc.rictor.org/


Top
 Profile  
Reply with quote  
PostPosted: Wed Jul 17, 2013 12:54 am 
Offline
User avatar

Joined: Tue Mar 05, 2013 4:31 am
Posts: 1385
Daryl,

Just saw that as well... I'll probably send them an email asking if I can get the updated version. I'd also be interested in any feedback you have on their SDK. I worked with WDC earlier this year as I'm the guy running it under Fusion on OSX with Win7 X64. They had to do some changes on their license key, but it had to be a Win7 64-bit issue, not a Fusion issue. Thanks for the update.

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


Top
 Profile  
Reply with quote  
PostPosted: Wed Jul 17, 2013 5:00 am 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 8507
Location: Midwestern USA
Dr Jefyll wrote:
It's actually not a bug. BRK is a two-byte instruction -- check the data sheet. Although the chip itself disregards the 2nd byte, it may have significance for software (the BRK handler).

See That BRK instruction...

"Tradition," however, has most assemblers treating BRK as not taking an operand. The very first 6502 assembler I used (some 35 years ago) did not allow an operand to be part of a BRK instruction. I use a macro to add an operand (signature byte) if I want one.

I may be repeating myself, but the 65C816's COP instruction, which is also a software interrupt like BRK, does require an operand.

Speaking of COP, during one of my more recent patches to POC V1.1's BIOS ROM, I rigged up the M/L monitor so that a COP instruction could be used as an alternative to BRK if so desired. It was a "strictly for grins" modification that would fetch the signature byte, change it to ASCII and display it as part of the diagnostic that indicated that a software interrupt had been executed. The current ROM no longer has that dubious feature, but COP will cause the same effect as BRK if the system vectors aren't disturbed.

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


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

All times are UTC


Who is online

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