Search found 30 matches

by daivox
Sun Aug 26, 2012 7:49 pm
Forum: Programming
Topic: 6502/65816 CPU variant detection code
Replies: 9
Views: 12418

Re: 6502/65816 CPU variant detection code

The code already checks for 65816 by first checking for 65C02, and only then using XBA instructions to determine if it's a 65816. As for the SMB5 instruction, you are indeed correct; I've modified the comments to indicate that the detection finds "old" vs. "new" type 65C02 chips. Apparently some ...
by daivox
Sun Aug 26, 2012 6:37 am
Forum: Programming
Topic: 6502/65816 CPU variant detection code
Replies: 9
Views: 12418

6502/65816 CPU variant detection code

I just spent a few hours researching some of the differences between 6500 family variants and writing a short piece of code that should be able to detect what kind of CPU you're running on top of. I've not tested it thoroughly! It works as expected on a C64 (result of $0c meaning normal NMOS 6502 ...
by daivox
Sat Oct 27, 2007 10:46 pm
Forum: General Discussions
Topic: Who are good USA electronics/parts suppliers?
Replies: 11
Views: 8988

Also, is there a particular logic family that is best suited for these kinds of tasks? I'd rather not find out that I picked up the wrong one after I've already got it in hand...
by daivox
Sat Oct 27, 2007 10:37 pm
Forum: General Discussions
Topic: Who are good USA electronics/parts suppliers?
Replies: 11
Views: 8988

So, correct me if I'm wrong, we're basically talking about having the caps as close as possible to flat-out piggybacking every IC that's in use. You said that most beginners completely ignore the rules of good design too; I was curious as to whether you had a moment to elaborate on that, beyond the ...
by daivox
Sat Oct 27, 2007 2:45 pm
Forum: General Discussions
Topic: Who are good USA electronics/parts suppliers?
Replies: 11
Views: 8988

What kind of caps should I use for decoupling? Does it depend on the IC that I use?
by daivox
Fri Oct 26, 2007 8:23 pm
Forum: General Discussions
Topic: Who are good USA electronics/parts suppliers?
Replies: 11
Views: 8988

This is AWESOME! You guys are the best. I'm getting excited! :)

My eventual goal is to start working on projects where I design a CPU from discrete logic, much like the infamous Magic-1 project. One thing I have a bit of trouble with is designing the circuits themselves, though; while I can easily ...
by daivox
Fri Oct 26, 2007 6:56 pm
Forum: General Discussions
Topic: Who are good USA electronics/parts suppliers?
Replies: 11
Views: 8988

Who are good USA electronics/parts suppliers?

RadioShack is overpriced and doesn't sell 74xxx logic IC's, and I'm just now starting to get into hardware design and troubleshooting, and am currently building my workbench. I apparently am not so hot at finding electronic component suppliers that are non-bulk-order and aren't excessively costly ...
by daivox
Tue Sep 25, 2007 4:53 am
Forum: General Discussions
Topic: CP/M-65 or DOS-65
Replies: 8
Views: 10317

Well, I'm one of those people who sees things from many perspectives; I run a business, so I can see the business side of things where most of us tech-heads see only things like cool stuff that can be done with X, Y, and Z, or dream about the ideal and say "if only this worked like this!" I love to ...
by daivox
Tue Sep 25, 2007 2:30 am
Forum: General Discussions
Topic: CP/M-65 or DOS-65
Replies: 8
Views: 10317

The only problem with that is that it wouldn't be a 6502...it'd be a 6502 on steroids! :)

Unfortunately, we have to work with what we've been given.

Also, Contiki and LUnix LNG are nice semi-portable hobbyist operating systems, but they're not exactly "supported" or designed with embedded stuff in ...
by daivox
Mon Sep 24, 2007 3:01 am
Forum: General Discussions
Topic: CP/M-65 or DOS-65
Replies: 8
Views: 10317

Ruud, I don't think it would really be all that practical to ask everyone to toss out their ROMs in their old computers.

I am currently in the preliminary stages of planning out development of a cross-platform 6500-series-based OS which I intend to market and license (and yes, there will be ...
by daivox
Tue Jun 05, 2007 2:32 pm
Forum: General Discussions
Topic: Turnkey get-started-fast solution
Replies: 101
Views: 54885

Yikes.

And why isn't this advice posted somewhere on this site? :)

Thanks for the help--I was starting to figure those things out on my own, in fact, but the jump-start is quite welcome, and I'd highl recommend someone get Mike to jam that info elsewhere on the site as a permanent document.
by daivox
Tue Jun 05, 2007 3:42 am
Forum: General Discussions
Topic: Turnkey get-started-fast solution
Replies: 101
Views: 54885

IIRC, POSIX relies on C, and C is simply not something that runs quite optimally on 65xx CPUs, no?

And I don't know much about POSIX anyway. My main problem with my prototype was that it simply didn't provide certain things I needed, and while tons and tons of it could be reused (I had malloc, some ...
by daivox
Mon Jun 04, 2007 11:11 pm
Forum: General Discussions
Topic: Turnkey get-started-fast solution
Replies: 101
Views: 54885

It's times like this that I wish my OS hadn't proven to be so poorly written. I'm planning to do a rewrite from scratch with definite pre-planning and goals instead of just jumping in for educational purposes, and maybe when that's done it'll be more helpful.
by daivox
Thu May 31, 2007 3:38 am
Forum: Emulation and Simulation
Topic: Linux console-based 6502 emulator anywhere?
Replies: 29
Views: 38796

Linux console-based 6502 emulator anywhere?

I'm wondering if there are any 6502 emulators that use the Linux console instead of Windows or X11, etc. GUIs. I want to turn an old Pentium 133 into a 6502 development system, but don't want to use X11 to do it. I doubt it exists, but if there is one, I'm all ears.
by daivox
Wed May 30, 2007 3:39 am
Forum: Programming
Topic: Crazy 6502 emulator idea
Replies: 8
Views: 8861

Actually, the idea of running a PC natively from a virtual 6502 implementation would be a bit too exotic. You're talking about enumerating PCI devices, handling ACPI tables, running Ethernet adapters, babysitting USB devices, and more from a system that can only natively address 64K of space in ...