Search found 78 matches

by joe7
Sun May 21, 2017 7:21 pm
Forum: Programming
Topic: Compilers for the 6502 running on the 6502
Replies: 11
Views: 4433

Re: Compilers for the 6502 running on the 6502

I first started learning C using "Super-C" on the C64 (by Abacus), with one of Herb Schildt's books in-hand. It had a nice text editor, assembler, linker etc. The biggest drawback was disk-swapping, but in the end I was very pleased to render Mandelbrots a little faster, and learn a new language in ...
by joe7
Fri Oct 21, 2016 11:25 am
Forum: Programming
Topic: Mike Kohn's naken_asm
Replies: 51
Views: 5337

Re: Mike Kohn's naken_asm

I'm sorry about this whole thing. I haven't been myself lately.
by joe7
Thu Oct 20, 2016 8:47 pm
Forum: Programming
Topic: Mike Kohn's naken_asm
Replies: 51
Views: 5337

Re: Mike Kohn's naken_asm

I never said a *single* thing about Mike's post, and intend to make things work as expected based on his response. So whatever.

I suppose, Mike, you're saying that a project with some non standard syntax or missing important features is good for the person who built the project, but probably not ...
by joe7
Wed Oct 19, 2016 6:31 pm
Forum: Programming
Topic: Mike Kohn's naken_asm
Replies: 51
Views: 5337

Re: Mike Kohn's naken_asm

I suppose, Mike, you're saying that a project with some non standard syntax or missing important features is good for the person who built the project, but probably not good for a general audience?

Well I'm very sorry for sharing my hard work with people that might be interested in it. WDC sells ...
by joe7
Wed Oct 19, 2016 4:01 pm
Forum: Programming
Topic: Mike Kohn's naken_asm
Replies: 51
Views: 5337

Re: Mike Kohn's naken_asm

I've added a disassembler for 65816, mainly because that module is needed for list file generation (-l option in the assembler). I'll also need it for the simulator display when I get around to that. In those roles, the number of storage bytes can be known, but for now 16-bit register sizes are ...
by joe7
Thu Oct 06, 2016 10:43 pm
Forum: Programming
Topic: Mike Kohn's naken_asm
Replies: 51
Views: 5337

Re: Mike Kohn's naken_asm

I think it ignores whitespace (like a C compiler would). Probably not much I can do, but I thought I should mention the quirk.

You can do these currently (need to update docs):

Code: Select all

0b11001100
11001100b

0x4444
4444h
$4444
by joe7
Thu Oct 06, 2016 8:14 pm
Forum: Programming
Topic: Mike Kohn's naken_asm
Replies: 51
Views: 5337

Re: Mike Kohn's naken_asm

Are you working toward implementing binary notation?
I can't really fix that in my modules, which are part of a larger suite of assemblers that share the same code base. (I think there is a conflict with the % being used for modulus in expressions.) I may be able to parse single binary values ...
by joe7
Thu Oct 06, 2016 4:58 pm
Forum: Programming
Topic: Mike Kohn's naken_asm
Replies: 51
Views: 5337

Re: Mike Kohn's naken_asm

I have re-written the 6502 assembler, and added a new one for the 65816. Traditional syntax is supported where possible, but there are some limitations. (The most glaring omission is lack of % for binary.)

A documentation project has been started (still working on '02/'816 docs):
https://github ...
by joe7
Fri Sep 30, 2016 10:17 pm
Forum: General Discussions
Topic: EasySXB (terminal for WDC's new boards)
Replies: 10
Views: 2159

Re: EasySXB (terminal for WDC's new boards)

EasySXB 0.1.4
-Support for S19 and S28 upload formats.
-Windows version is 64-bit now.
-Choice of terminal font size.
-GUI tweaks (dialogs should behave more as expected).
-PDF manual included in packages now.

Binaries:
https://sourceforge.net/projects/easysxb/

C++ Source:
https://github.com ...
by joe7
Tue Jun 14, 2016 7:09 am
Forum: General Discussions
Topic: Z80, 8086, 6502 and 65k opinions?
Replies: 29
Views: 12597

Re: Z80, 8086, 6502 and 65k opinions?

(I think we've all benefited from the prime directive of the 6502 - to be the smallest viable 8bit CPU, and therefore the cheapest.)
I voted 6502 for that reason. It was an important-stepping stone for me to learn more advanced computer concepts. I still suck at ML, but at least I have a sense of ...
by joe7
Fri Apr 29, 2016 8:07 pm
Forum: Programming
Topic: WDCTools Limited C-Compilers
Replies: 23
Views: 3532

Re: WDCTools Limited C-Compilers

I had a whole thing written out before X crashed.. ugh!

The assemblers and debugger appear to work without a licence, but commercial use is unclear to me. (Probably need the licence for that?) That wouldn't affect most people though.

The C compiler does have code-size optimizations, and ...
by joe7
Thu Apr 28, 2016 9:04 pm
Forum: Emulation and Simulation
Topic: Series of blog posts on C64 JavaScript emulator from scratch
Replies: 48
Views: 10689

Re: Series of blog posts on C64 JavaScript emulator from scr

Welcome. I was able to run your Java emulator, very impressive indeed. It starts up okay but I didn't have time to sift through games to see which ones work. (One loaded but didn't run.)

Looking forward to the JavaScript version, good luck.
by joe7
Thu Apr 28, 2016 2:46 am
Forum: Programming
Topic: WDCTools Limited C-Compilers
Replies: 23
Views: 3532

Re: WDCTools Limited C-Compilers

Messed around with this quite a bit tonight. Here's what I got so far:

The '02 compiler has a 250 line limit, but the '816 compiler has a 750 line limit. The 2K object file limit appears to be a mistake though, it goes higher.

I was able to compile simple programs that could use integer and ...
by joe7
Sun Apr 24, 2016 5:57 pm
Forum: Programming
Topic: WDCTools Limited C-Compilers
Replies: 23
Views: 3532

Re: WDCTools Limited C-Compilers

Is it even possible for an individual to buy a license? Their online store says "out of stock" and they don't seem very response to emails when I've tried. It seems kind of unbelievable that, as a customer, I have money I want to give them for their product but they will not accept it. :?

I tried ...
by joe7
Sun Apr 24, 2016 5:33 pm
Forum: General Discussions
Topic: EasySXB (terminal for WDC's new boards)
Replies: 10
Views: 2159

Re: EasySXB (terminal for WDC's new boards)

I started writing a manual, still a bit rough:
https://sourceforge.net/projects/easysxb/files/documentation/easysxb-0.1.2.pdf

Also released version 0.1.3 for Windows and Linux, which (hopefully) fixes a pretty bad bug where hardware handshaking wasn't being done properly:
https://sourceforge.net ...