Search found 197 matches

by Martin A
Mon Feb 26, 2024 6:02 pm
Forum: Programmable Logic
Topic: Question about the 74LVC245s
Replies: 8
Views: 4139

Re: Question about the 74LVC245s

I used the LVC244 to down shift 5v from a Z80 to a cyclone II FPGA.

Going the other way used an HCT245 with the direction locked because that was what I had in stock. The HCT244 would have been just as good.

Both parts are through hole, easier for prototyping.
by Martin A
Sat Feb 10, 2024 6:24 pm
Forum: Hardware
Topic: Help with Tms9918anl losing signal when background changed
Replies: 13
Views: 4074

Re: Help with Tms9918anl losing signal when background chang

Have you remembered to reverse the data bus?

TI documents of the era consider D0 to be most significant. Which is the opposite of how the 6502 etc define things.

Meaning CPU D0 goes to VDP CD7 on pin 17, etc round to D7 connecting to CD0 on pin 24.
by Martin A
Thu Aug 24, 2023 4:21 pm
Forum: Hardware
Topic: CMOS compatible SRAM
Replies: 17
Views: 7519

Re: CMOS compatible SRAM

Time for some examples I guess.

http://forum.6502.org/viewtopic.php?f=3&t=5728 It the write up of the Atom build I did, you'll note from the first board there's an Alliance AS6C62256 32k ram on there with an older 10MHz W65C02. The date code of the ram isn't clear, but it's 1127.

I've put the ...
by Martin A
Thu Aug 24, 2023 8:36 am
Forum: Hardware
Topic: CMOS compatible SRAM
Replies: 17
Views: 7519

Re: CMOS compatible SRAM

My "Solution" was to use alliance memory chips and interpolate for the blank spot on the datasheet! They're CMOS devices themselves, with a wide voltage range, they're not going to have the limited drive of TTL.

If the drivers can output a guaranteed 2.4v** from a 2.7v supply, and typically do 3v ...
by Martin A
Wed Aug 16, 2023 7:06 pm
Forum: Programmable Logic
Topic: ATF22V10CQZ Address Decoder Not Working As Expected
Replies: 4
Views: 6632

Re: ATF22V10CQZ Address Decoder Not Working As Expected

You could try replacing
FIELD Address = [A15..5];
in the second attempt with FIELD Address = [A15..0];
Even though A0 to A4 aren't connected, they're part of the 16 bit address. As long as the addresses ranges resolve to don't care for the low 5 bits WinCUPL should be happy.

This code from my ...
by Martin A
Sun Aug 13, 2023 8:22 am
Forum: Programming
Topic: Looking for some "best practices" advice for 6502 assmbly
Replies: 20
Views: 13923

Re: Looking for some "best practices" advice for 6502 assmbl

I generally define some locations in zero page for "throw away" pointers and such. With labels like tempW1 or tempB3 to make it clear what they are.

They're purely used for here and now actions so it doesn't matter if they're over-written by subroutine calls. Anything needing more permanence than ...
by Martin A
Thu Jul 20, 2023 6:51 pm
Forum: Hardware
Topic: 12-bit VGA DAC feedback
Replies: 11
Views: 2654

Re: 12-bit VGA DAC feedback

The main problem for a binary resistor DAC is finding resistor values that are exact powers of two, i.e. 1K, 2K, 4K, 8K, etc..
For a 3 bit DAC, exact powers of 2 are easy, as long as you have the middle value resisrtor to hand.

2 resistors in parallel will give you half the value.
2 reistors in ...
by Martin A
Mon Jul 03, 2023 6:14 pm
Forum: Hardware
Topic: Text mode VGA for 6502
Replies: 66
Views: 10535

Re: Text mode VGA for 6502

Have you tried another monitor, just in case it's "Fussy" that's clipping the display ?
by Martin A
Fri Jun 30, 2023 11:50 am
Forum: General Discussions
Topic: SMT/SMD, 3V3, and CPLD Routing Tips?
Replies: 43
Views: 22388

Re: SMT/SMD, 3V3, and CPLD Routing Tips?

The VIH figure from the DC part of the datasheet shows you the minimum voltage that will be accepted as a high, in this case that's 2.0v. There's no maximum quoted so anything from 2v to the absolute maximum of any pin of VDD+0.5 is acceptable. (Though input voltages over the supply should be ...
by Martin A
Sat Jun 03, 2023 7:38 pm
Forum: Hardware
Topic: 65816 Pseudo-SoC
Replies: 13
Views: 3798

Re: 65816 Pseudo-SoC

the main reason the ROM is so large in the first place is to allow in-system programming, as that requires having control over atleast the bottom 15 Address lines of the Flash.

If you're not bringing out CB1 and CB2, could you use CB2 for A14 to the ROM?

That would allow you to shrink it to 16k ...
by Martin A
Thu May 04, 2023 10:48 am
Forum: Hardware
Topic: RAM banking
Replies: 31
Views: 17695

Re: RAM banking

If you need to drive the address lines, rather than using pull ups, you could add a 74xx157.

If you feed A15-A18 to both input banks of the with select pin tied off high or low. With *access feeding the enable pin, the 157 will output all lows when the enable is high and the fixed 4k is in use, and ...
by Martin A
Sat Feb 04, 2023 9:48 am
Forum: Hardware
Topic: Looking for potential schematic corrections
Replies: 33
Views: 11381

Re: Looking for potential schematic corrections

The Propeller P8X32A is not 5V tolerant so voltage-level translation is definitely needed to interface it into a 5V circuit.

There's a note on the P8X32A datasheet that says: "I/O pin voltages with respect to Vss may be exceeded if internal protection diode forward bias current is not exceeded ...
by Martin A
Mon Jan 09, 2023 5:45 pm
Forum: Newbies
Topic: Ben Eater's Reset Circuit
Replies: 54
Views: 37947

Re: Ben Eater's Reset Circuit

It might be interesting to look up how the Apple 1, the PET, the Superboard, the Atom managed their reset lines - I expect they were pretty minimal about the arrangement. Even moving forward, to the Apple II, the C64, the Beeb, I wouldn't expect to see a reset controller - maybe a monostable.

I ...
by Martin A
Thu Jan 05, 2023 7:16 pm
Forum: Programmable Logic
Topic: WinCUPL - pulling a pinnode to ground or VCC
Replies: 9
Views: 7909

Re: WinCUPL - pulling a pinnode to ground or VCC

you can always try soemthing like:

Code: Select all

pinx =
   signal 
# !signal
;
Which should set pinx high.
by Martin A
Wed Dec 21, 2022 8:45 am
Forum: Hardware
Topic: 65C816 Prototype System
Replies: 16
Views: 2255

Re: 65C816 Prototype System

I am confused. I have just started working on a 65816 design, so I am pretty much a newbie here. Doesn't the CPU output the bank address on the data bus during phi2 low phase? I thought it wasn't possible to share the bus on a 65816 system, as we do with the 6502.
That's not a problem if the CPLD ...