Search found 215 matches

by Garth
Sat Apr 01, 2017 8:56 pm
Forum: Newbie Help Center
Topic: Is there an easier way to do this?
Replies: 38
Views: 9040

Re: Is there an easier way to do this?

I would again encourage looking into macros . They can be used to make your source code much shorter and more clear, while still assembling exactly (in most cases) the same machine code for the processor to execute. (Actually, one way that it may not be exactly the same is that since it's easier to ...
by Garth
Sat Apr 01, 2017 8:09 pm
Forum: Newbie Help Center
Topic: Question about smoothly handling multiple loops in asm.
Replies: 33
Views: 11167

Re: Question about smoothly handling multiple loops in asm.

EDIT: Got everything to assemble in asm6! just writing .enum throws an error because it expects an operand, but .enum $ seems to do the trick and the rest of it seems to "work" so far. :P It's past bedtime here but i'll get back to it tomorrow. Would it be ok to share the translation here...
by Garth
Thu Mar 16, 2017 2:43 am
Forum: General Stuff
Topic: C vs. C++; efficiency vs. convenience?
Replies: 38
Views: 8886

Re: C vs. C++; efficiency vs. convenience?

Definitely get the book, "Starting Forth" (or, easier to get but not as good as an actual book IMO is to see it online, here ). When I initially met Forth in about 1989, I liked it, but I thought there were things it would not be able to do gracefully, or at all; but as I gained experience...
by Garth
Wed Mar 15, 2017 1:52 pm
Forum: Newbie Help Center
Topic: Couple of questions from a 6502 newb.
Replies: 54
Views: 23402

Re: Couple of questions from a 6502 newb.

Are all these LDA P1_CURRENT_FRAME really neccessary or should I just load the value at the beginning only? One way to do it is to load it once and decrement it each time. The 65c02 (CMOS) has a DEA (decrement accumulator) instruction; but if you're using an NMOS 6502, you'll have to use X or Y, th...
by Garth
Mon Mar 13, 2017 2:39 pm
Forum: Newbie Help Center
Topic: Greater then comparison?
Replies: 3
Views: 1945

Re: Greater then comparison?

Beyond 8-bit Unsigned Comparisons by Bruce Clark http://6502.org/tutorials/compare_beyond.html 6502 Compare Instructions from 6502 Software Design, Updated by Bruce Clark http://6502.org/tutorials/compare_instructions.html The Overflow (V) Flag Explained by Bruce Clark http://6502.org/tutorials/vfl...
by Garth
Sat Mar 11, 2017 8:18 pm
Forum: Newbie Help Center
Topic: NES Programming Tutorial : Source Code Structure
Replies: 1
Views: 2584

Re: NES Programming Tutorial : Source Code Structure

Chapter 18 of my 6502 primer is "Program-Writing: Where Do I Start?", at http://wilsonminesco.com/6502primer/PgmWrite.html . I wrote it in response to a 6502.org forum post years ago which was typical of several such posts. It said, "and no one really ever tells you in what program do...
by Garth
Sat Mar 11, 2017 8:14 pm
Forum: Newbie Help Center
Topic: NES Programming Tutorial : Interrupts
Replies: 3
Views: 3164

Re: NES Programming Tutorial : Interrupts

I have a 6502 interrupts primer at http://wilsonminesco.com/6502interrupts/ . It's not NES-specific (or even game-specific), but pretty detailed. Enjoy my outdated cartoons!
by Garth
Mon Jan 30, 2017 3:28 pm
Forum: General Stuff
Topic: Linux, yes or no ?
Replies: 43
Views: 9060

Re: Linux, yes or no ?

Then I tried Conectiva, then Mandrake, then Mandriva and stopped at Ubuntu. I really missed the old Gnome interface, but I become happy with Mate! I'm using Ubuntu 14.04 (my son says it's not worth updating to 16.04), and I had him put the Gnome Flashback Compiz GUI back on it. I want the tabs alon...
by Garth
Fri Jan 27, 2017 10:10 pm
Forum: General Stuff
Topic: Linux, yes or no ?
Replies: 43
Views: 9060

Re: Linux, yes or no ?

This desktop computer I'm using originally had XP on it and I'm running Ubuntu 14.04. It seems like recent updates expect newer hardware. Firefox seems to have a serious task-scheduling problem sometimes and it won't respond for several seconds at a time, but the other programs seem to be mostly fre...
by Garth
Wed Jan 25, 2017 2:11 am
Forum: General Stuff
Topic: You can't buy Eagle anymore
Replies: 18
Views: 5000

Re: You can't buy Eagle anymore

From what I've found from both Eagle and Designspark (and probably every other tool) you're a asking for problems if you fully trust the design rule checker. You MUST verify all layers of the gerbers with a fine tooth comb using something like GCPreview before sending your files to the fab or suffe...
by Garth
Tue Jan 24, 2017 6:56 pm
Forum: General Stuff
Topic: You can't buy Eagle anymore
Replies: 18
Views: 5000

Re: You can't buy Eagle anymore

nitro2k01, I would think you could do most of those things in nearly any PCB CAD. It doesn't have to be Eagle. And just because you're not using the supplied library component footprints doesn't mean you're not using library component footprints at all. You mention the DB-25 for example. I made my o...
by Garth
Mon Jan 23, 2017 10:30 pm
Forum: General Stuff
Topic: You can't buy Eagle anymore
Replies: 18
Views: 5000

Re: You can't buy Eagle anymore

Eagle seems to have been one of the early ones to the CAD field, and apparently a pretty good one, too. In the 1980's I was laying out boards by hand, 4x actual size, and taping (remember Bishop Graphics?) on films, and then we had to drive those to the graphics-arts place to have them reduced to ac...
by Garth
Sun Jan 22, 2017 7:58 pm
Forum: General Stuff
Topic: You can't buy Eagle anymore
Replies: 18
Views: 5000

Re: You can't buy Eagle anymore

There should be something here that helps: https://en.wikipedia.org/wiki/Comparison_of_EDA_software Instead of photoshop, I'm using Gimp . For PCB CAD, I'm still using an old DOS version of Easy-PC Pro from Number One Systems in England, for both hobby and work. It was only $375 nearly 23 years ago,...
by Garth
Thu Jan 19, 2017 10:30 pm
Forum: General Stuff
Topic: Making a game console from parts like 6502,z80 etc possible
Replies: 94
Views: 20543

Re: Making a game console from parts like 6502,z80 etc possi

Baseline 65816 has an 8-bit data bus. Opcodes are 8-bit, and operands and data are read or written at one cycle per byte. As I understand it, the only real difference with the 65802 was that it could only address 64 KB due to 6502 pin compatibility requirements, which is definitely not true of the ...
by Garth
Thu Jan 19, 2017 3:10 pm
Forum: General Stuff
Topic: Making a game console from parts like 6502,z80 etc possible
Replies: 94
Views: 20543

Re: Making a game console from parts like 6502,z80 etc possi

I should have mentioned that the 65c02 has much better interrupt performance than the 68000. I've run up to about 140,000 interrupts per second on my 5MHz 65c02 workbench computer. (Obviously the ISR had to be pretty simple.) I have a 6502 interrupts primer at http://wilsonminesco.com/6502interrupts...