Search found 194 matches

by Garth
Mon Oct 26, 2020 1:48 pm
Forum: General Stuff
Topic: [SOLVED] Nin. Switch audio buzzes when docked - can i make a ground loop isolator?
Replies: 12
Views: 2646

Re: [SOLVED] Nin. Switch audio buzzes when docked - can i make a ground loop isolator?

It sounds like you've lived a charmed life between working at TEAC, installing aircraft equipment, and 6502 programming. Your website is a wonderful resource too, i have referenced it many times, thank you =) You're welcome. There are additional major features I want to post, but it all takes so muc...
by Garth
Mon Oct 19, 2020 6:28 pm
Forum: Newbie Help Center
Topic: Organizing and compiling multiple files
Replies: 4
Views: 2495

Re: Organizing and compiling multiple files

I would make the include files be modules that I would use in other projects. Otherwise there's not much sense in breaking it up just to break it up.
by Garth
Mon Oct 19, 2020 1:45 am
Forum: Newbie Help Center
Topic: Useful pre-indexed indirect addressing instructions
Replies: 4
Views: 1348

Re: Useful pre-indexed indirect addressing instructions

The (ZP,X) addressing mode is great for when you have a ZP data stack, using X as the stack pointer, and various cells on this stack may be addresses. This addressing mode is used all the time in Forth and I suspect other HLLs too. We had a discussion on this on the 6502.org forum, at http://forum.6...
by Garth
Tue Oct 13, 2020 2:57 pm
Forum: General Stuff
Topic: [SOLVED] Nin. Switch audio buzzes when docked - can i make a ground loop isolator?
Replies: 12
Views: 2646

Re: Nin. Switch audio buzzes when docked - can i make a ground loop isolator?

Noises get in when a signal is referenced against something that not really ground. People thing that connecting all the grounds everywhere to each other should fix it, and that ground is ground is ground; but that's not true. The term "ground loop" is often misapplied, and the phenomenon is widely ...
by Garth
Sat Oct 10, 2020 1:45 am
Forum: NESdev
Topic: 6502 vdelay - cycle delay routine with variable length at runtime
Replies: 37
Views: 8438

Re: 6502 vdelay - cycle delay routine with variable length at runtime

It's only seven bytes; so you could even straightline it (instead of called as a subroutine) and add a NOP or two, and if necessary, a trailing BCC to the next instruction (meaning a 3-cycle NOP, assuming it doesn't cross a page boundary), in quite a few places to get the needed resolution without t...
by Garth
Fri Oct 09, 2020 10:37 pm
Forum: NESdev
Topic: 6502 vdelay - cycle delay routine with variable length at runtime
Replies: 37
Views: 8438

Re: 6502 vdelay - cycle delay routine with variable length at runtime

Check out also this slick one from Bruce Clark. The delay is 9*(256*A+Y)+8 cycles (plus 12 more for JSR & RTS if you make it a subroutine). This assumes that the BCS does not cross a page boundary. loop: CPY #1 DEY SBC #0 BCS loop He writes: "A and Y are the high and low bytes (respectively) of a 16...
by Garth
Mon Sep 28, 2020 11:04 pm
Forum: Newbie Help Center
Topic: Assembly optimization
Replies: 11
Views: 2910

Re: Assembly optimization

Good points so far. I have a lot at http://wilsonminesco.com/6502primer/PgmTips.html .
by Garth
Sun Sep 27, 2020 1:49 am
Forum: General Stuff
Topic: What chips should be in that PCB?
Replies: 5
Views: 2217

Re: What chips should be in that PCB?

nocash wrote:
Sat Sep 26, 2020 7:41 pm
But did 32pin SRAMs even exist in 1994?
My 1992 Hyundai data book has up to 128Kx8 (1Mb) SRAMs, in 32-pin DIPs and SOPs. I got a 1 megabyte SRAM STD-bus board at work in 1990 or so which had eight 128KB SRAMs on it. ("STD" stands for "simple to design," not "standard.")
by Garth
Mon Sep 14, 2020 5:05 pm
Forum: Newbie Help Center
Topic: Hello, I'm back, still need assistences
Replies: 99
Views: 19275

Re: Hello, I'm back, still need assistences

Any progress?
by Garth
Wed Sep 02, 2020 12:15 am
Forum: General Stuff
Topic: Math vs Language in programming
Replies: 19
Views: 8247

Re: Math vs Language in programming

Jacobson, I had not seen the post you linked to. I'm not a moderator or administrator on this forum; but I am one on several others, and I've seen the pattern over and over. Although there's nothing specific wrong with the one post, if it looks suspicious like this and I use the tools available to o...
by Garth
Tue Sep 01, 2020 1:36 am
Forum: General Stuff
Topic: Math vs Language in programming
Replies: 19
Views: 8247

Re: Math vs Language in programming

Jacobson wrote:
Tue Sep 01, 2020 12:48 am
Well said, thanks for sharing, it is very helpful to my understanding of programming.
This is a typical first post for a spammer who thinks there's some kind of probation period to get past, and shows no legitimate interest or knowledge in the subject.
by Garth
Fri Jul 31, 2020 1:20 am
Forum: General Stuff
Topic: Making "Good" Assembly Code
Replies: 73
Views: 20836

Re: Making "Good" Assembly Code

Move from A to B is technically correct but not something you would say "Move from A to B" is very normal in English. "Maths" however is not a word we use in the U.S.. (I think England uses it though.) In the U.S., it's always "math," like "dirt" or "air," never plural. 6502 is based on 6809 which ...
by Garth
Mon Jul 27, 2020 9:16 pm
Forum: phpBB Issues
Topic: Anti-spam proposal
Replies: 30
Views: 9229

Re: Anti-spam proposal

User-level bans for spammers are meaningless, only IP blocks and deleting users means anything. I should have been more complete in my post right before that. phpBB forum mods can ban a user by name and IP address, and, if they can get an email address from a site like stopforumspam.com, ban the em...
by Garth
Mon Jul 27, 2020 1:28 am
Forum: phpBB Issues
Topic: Anti-spam proposal
Replies: 30
Views: 9229

Re: Anti-spam proposal

Dwedit wrote:
Mon Jul 27, 2020 12:23 am
Mods can't ban, only admins can do that.
Mods can ban, but not delete the user.
by Garth
Sun Jul 26, 2020 2:51 pm
Forum: phpBB Issues
Topic: Anti-spam proposal
Replies: 30
Views: 9229

Re: Anti-spam proposal

Now I've just gotten spam by private message, from Claytonpeect!! It's past time to do something drastic . I'm also a moderator on the 6502 CPU Family group where we have a question for applicants, about why they want in. This is to sort out those with a legitimate interest from those who just want ...