Search found 105 matches

by OwenS
Sat Dec 31, 2011 10:30 pm
Forum: Programmable Logic
Topic: Software for the 65Org16.x (formerly 6502 SoC Project)
Replies: 113
Views: 27402

Most designs I've seen have a multiplexer on the carry input to the ALU allowing selection between

C
0
1

To me it seems reasonable to add something along the lines of "L[31]" to that, or the most significant bit on the "left input bus". Its a useful bit to have access to anyway.
by OwenS
Mon Sep 05, 2011 11:06 pm
Forum: Programmable Logic
Topic: Simple Memory Decoder GAL
Replies: 58
Views: 26617

The "Universal device programmer" is, these days, as JTAG adaptor. You can pickup numerous FT?232 based USB dongles these days which can give you bitrates between ~12Mbit/s (older chips) to (I think) 100Mbit/s (newer ones). The FT2232 ones will probably also incorporate a (good!) USB to serial ...
by OwenS
Tue Aug 23, 2011 12:14 am
Forum: General Discussions
Topic: how many instructions is the 6510 able to do in 1 clock?
Replies: 57
Views: 15402

Off-topic : ... (I realise this thread is old(ish), but I have been away for a while and am catching up)
Where have you been? and welcome back.

Distracted. I generally must have just forgotten about this place. With the amount of other things I juggle (of varying priorities), some things just ...
by OwenS
Sun Aug 21, 2011 11:55 pm
Forum: General Discussions
Topic: how many instructions is the 6510 able to do in 1 clock?
Replies: 57
Views: 15402

Would that be 64-bit memory, transferring a 64-bit set with each clock edge? And if so, isn't that for bursts, where the first set (long word?) takes many clocks to retrieve, and then the rest (perhaps 7 more sets) can go at one transaction per clock edge? The fact that SRAM doesn't have the burst ...
by OwenS
Sun Aug 21, 2011 10:08 pm
Forum: General Discussions
Topic: how many instructions is the 6510 able to do in 1 clock?
Replies: 57
Views: 15402

Something Mr. e2020 should think about is just what is getting accomplished at 3000 MHz. While the MPU core may be running that fast, the buses and memory subsystem are not. A contributing factor to the 65xx family's efficiency is the fact that the address and data buses are synchronous to the MPU ...
by OwenS
Sun Aug 21, 2011 9:23 pm
Forum: Hardware
Topic: Pic interface: keyboard, mouse, i2c...
Replies: 27
Views: 5478

The PIC 877 (and successor 877A) have a builtin "parallel slave port" feature. While this is nowhere near as well featured as on more modern (PIC18, PIC24, dsPIC and PIC32), it should be feasible to implement a reasonably simple "command response" interface. For example, you might say that doing a ...
by OwenS
Sun Oct 31, 2010 2:44 pm
Forum: Programmable Logic
Topic: The RB65 project
Replies: 20
Views: 8673

Why not pick an already standard SOC bus, like Wishbone or AMBA AHB? Then, not only can you easily switch cores, you can also easily drop in other components from other developers
by OwenS
Sat Oct 30, 2010 1:38 am
Forum: Programming
Topic: Using BRK for anything other than debugging?
Replies: 30
Views: 14653

Though note the caveats of doing so - for example, on server versions the audio stack is set into "minimum resource use mode" (rather than "sounds good mode")
by OwenS
Wed Oct 27, 2010 8:36 pm
Forum: Programmable Logic
Topic: The 65k project!
Replies: 54
Views: 44043


For supporting more than one interrupt line, there are two options. First is you have a single IRQ vector, and the interrupt source is read from some port address or a special register. But in case a higher priority interrupt interrupts a lower priority interrupt routine, the value of this port ...
by OwenS
Wed Oct 20, 2010 11:03 pm
Forum: Programmable Logic
Topic: Getting started with Xilinx CPLD's & FPGA's
Replies: 30
Views: 14857

Completley forget about doing any internal logic with signals with multiple drivers.

FPGAs do not work like that. In fact, modern CMOS does not work like that. If you ask for a multi-driver bus, then the software will synthesize it poorly by building a big multiplexer somewhere for all your outputs ...
by OwenS
Fri Oct 15, 2010 6:22 pm
Forum: Hardware
Topic: POC Computer Version One
Replies: 600
Views: 4666415

Re: POC Version 2

Sounds like you're maybe aiming for a day when you do actually have a DMA controller? Else, a regular ole' EIDE HDD would be ok with the multiple PIO modes right?
EIDE is a bit of a pain to implement. SCSI is standardized around a device-agnostic command and bus system. EIDE disks don't support ...
by OwenS
Thu Oct 14, 2010 1:22 pm
Forum: Hardware
Topic: New 6502 core
Replies: 16
Views: 10997

Code: Select all

    D		: inout	std_logic_vector(7 downto 0);
FPGAs really don't like bidirectional signals. For something designed as an FPGA soft core, you really should use separate D_in and D_out busses, and adopt a synchronous memory bus (synchronous busses scale to much higher speeds)
by OwenS
Sun Sep 26, 2010 6:03 pm
Forum: Programming
Topic: Using BRK for anything other than debugging?
Replies: 30
Views: 14653

One advantage would be reduced code size (Obviously, 1 byte vs 3) for each call; though since BRK doesn't encode any operands and the minimum load operation would be two bytes... this is a pretty unconvincing case.

If it had been a two byte opcode, and additionally (say) loaded the operand byte ...
by OwenS
Fri Sep 10, 2010 12:48 pm
Forum: Programming
Topic: assembler mechanics question
Replies: 10
Views: 4151

Re: assembler mechanics question


How can assemblers do this in two passes?

I don't know of assemblers that do that (but looking at the other comments it seems some do), but TeX (the typesetting program) does it like that:

It layouts a dokument, calculates the page numbers etc, inserts them, layouts again, recalculates, layouts ...
by OwenS
Wed Sep 01, 2010 6:55 pm
Forum: Hardware
Topic: Memory Selection ...
Replies: 30
Views: 6576

In the 65816 system I have on the breadboard at the moment, I have the high 8 address lines driven from both the normal 8-bit latch and also from an 8-bit buffer with all its inputs connected high. The enable lines for each chip are driven from the opposite outputs of a flip-flop so only 1 is ever ...