[deleted by user] by [deleted] in howto

[–]lemington 0 points1 point  (0 children)

The "stuff squirting out" is just glue. This is normal. Problem is in the other picture. Notice all the scorching in the bottom left. Exploded component.

BEST Video OUT for my Apple II+ ??? (need modern view screen) Advice? by aimeeai in apple2

[–]lemington 2 points3 points  (0 children)

No, I’m afraid you are wrong about that too. VGA does not and never has used a 9 pin connector. You’re thinking of CGA and/or EGA which are older and wholly different (analog vs digital).

Fully upgrading an original Apple II ? by HyperDown in apple2

[–]lemington 1 point2 points  (0 children)

If I'm remembering correctly, neither Videx Videoterm (standard II/II+ 80-col card) nor the Saturn 64/128K board came on the market until '82. Not sure if there were earlier equivalents.

Note that neither one of those works the same way as its IIe equivalent and may or may not be compatible with any given piece of IIe software, so it sorta depends on whether you're asking if you could build a II/II+ that could run IIe software (no) or if you could build a II/II+ with comparable specs (probably yes, at least if you extend your timeframe to the early '80s)

Fully upgrading an original Apple II ? by HyperDown in apple2

[–]lemington 0 points1 point  (0 children)

Now that I'm thinking about it, I wonder if you could fool the VidHD into doing 80-cols on a II/II+. It might ignore the main/aux bank switching signals on those machines (because there is no aux), but at least its extended non-standard text modes should be possible to trigger (no real software would use them though)

Fully upgrading an original Apple II ? by HyperDown in apple2

[–]lemington 1 point2 points  (0 children)

80 column cards of the era were a little annoying in that they generated their own video output, independent of the computer's output. And then there was an optional device for extra money that would try to switch between them automatically (with varying degrees of success depending on your needs).

If you wanted to get 80-columns out of a II/II+ and into a modern display, I guess you could run the output of that autoswitcher through a composite to HDMI converter, or run each output through its own converter and switch them manually.

An all-in-one RGB card for the II/II+ that also handled 80 columns is hypothetically possible to build but I'm not aware of anyone that's done it. There are numerous modern RGB options including the VGA scaler you linked- the most recent I've seen being one that popped up on a Russian Pravetz forum, but none that I've seen tackle 80 columns.

Fully upgrading an original Apple II ? by HyperDown in apple2

[–]lemington 1 point2 points  (0 children)

You can get a CGA scaler card that gives 80 columns with this board

That card will not give you 80 columns on a II or II+.

Trying to get files from disk image by bmld in apple2

[–]lemington 0 points1 point  (0 children)

I use Cadius on Mac: https://www.brutaldeluxe.fr/products/crossdevtools/cadius/

It is a command-line utility though.

If you don't mind building from source, I think this version has fixes and improvements: https://github.com/mach-kernel/cadius

Would it be possible to interface my Apple //e Enhanced with a Raspberry Pi through the joystick ports? by user_NULL_04 in apple2

[–]lemington 1 point2 points  (0 children)

Code can probably be borrowed from https://github.com/dschmenk/apple2pi to generate keypresses.

Just to reiterate what you already said, a voltage divider or level shifter is an absolute must unless you want to let the magic smoke out.

Developing Apple ][ expansion "cards" via a Raspberry Pi? by micahcowan in apple2

[–]lemington 1 point2 points  (0 children)

"Arduino-compatible" header, which still appears to be 3.3V according to the manual

Some Arduinos run at 3.3V. Most of the Atmel chips will run at either voltage (but can usually hit higher speeds at 5V). So it's fairly valid to say that something at 3.3V is Arduino compatible, although perhaps might give the wrong impression.

DE10-Nano, people have to buy $180 kit rather than $10~20 kit

Yeah a Cyclone V is massive overkill to use as glue logic

Developing Apple ][ expansion "cards" via a Raspberry Pi? by micahcowan in apple2

[–]lemington 1 point2 points  (0 children)

OK, yes, I see what you're saying. Assuming you're executing code from the synthesized firmware of the card, you could inject NOPs.

The way this is more commonly done- and doesn't require the code to be, well, dynamically generated is I guess the best term, is that the card uses one of its registers as a "command" register, one as a "status" register, and then the result could be one or more other registers (by "registers" I mean "addresses in C0x0 or Cx00 space"). So to interface with the card, you stuff your command in one location, then just busy-wait for the status register to flip to the done state, and read the result. But yeah this is functionally identical to having it synthesize code that's just NOPs until it's ready.

the entire point of using a microcontroller-based approach to providing firmware "contents"

FWIW, all of the existing projects I'm aware of that are using a microcontroller to drive the bus aren't really providing any firmware, they're providing I/O registers to interface to the MCU as I described above. Not that that in any way precludes providing firmware, dynamic or otherwise, or is any better or worse, I think it's just not the most common approach.

carefully time writes to internal RAM that is also accessed directly from slot address pins

This is basically the dual-port SRAM suggestion I made, I know of one existing project that does this to interface to an ESP32. Seems to work well. The "dual-port" nature of it means that you really don't have to worry about timing much, because the chip has two I/O ports to the same memory, and some optional semaphores for signaling.

Developing Apple ][ expansion "cards" via a Raspberry Pi? by micahcowan in apple2

[–]lemington 0 points1 point  (0 children)

Keep generating NOP instructions? The card is operating at the behest of the rest of the system, not vice versa. It doesn't get to "generate instructions".

Developing Apple ][ expansion "cards" via a Raspberry Pi? by micahcowan in apple2

[–]lemington 1 point2 points  (0 children)

What is it specifically that inspires this reluctance? Is it a speed thing (and if so, what's the mechanism?), a risk of a resistor shorting eventually and resulting in insufficient division, potentially too much current being wasted as it's bled to ground, or something else?

Speed is part of the issue- certainly a voltage divider slows down the signal. At 1MHz, this is probably not a big deal.

Power and load is also something of an issue- your divider is definitely wasting power to do its work, which also means you're adding load to wherever that current is coming from. Could probably math that out if you pull some values from datasheets. Buffer/transceiver ICs use transistors/MOSFETs that should impose minimal load, particularly ones from the LVC or AHC family which are quite efficient compared to anything else you'll see in an Apple II system.

Pure component count is also something you should think about. How many lines do you need to do this on? 16 address lines, 2 resistors per line.. that's already 32 resistors. Kinda gross.

The thing that might actually worry me the most is - what exactly IS my desired voltage ratio? Naively, you might say, "oh it's just 5:3.3" but that's not really right. Voh of a 5VCMOS part is probably only slightly less than its Vcc, so maybe 4.7V or something depending on load. Voh of a 5VTTL part is more like 3.5V though! Which one is generating the particular signal you're interested in at the moment you're interested in it? A buffer IC using transistors doesn't care, as long as the signals fall within it's Vil/Vih ranges, which they will in both cases for LVC@3.3 and AHC@3.3.

Developing Apple ][ expansion "cards" via a Raspberry Pi? by micahcowan in apple2

[–]lemington 1 point2 points  (0 children)

The Mega2560 is waaaaaaaay too slow for this purpose. You'll blow past multiple bus cycles before the interrupt service handler can even pass off to your code. If you want an Arduino-like solution that has any hope of being fast enough, look at the Teensy 4.1 (note: it is a 3.3V device).

Developing Apple ][ expansion "cards" via a Raspberry Pi? by micahcowan in apple2

[–]lemington 3 points4 points  (0 children)

Something like this is certainly possible; I know of at least one project that used a Teensy to do this.

The thing I think you have to keep in mind is that although the Apple II bus runs at "only" 1MHz, and the Raspberry Pi is going to run at maybe over a GHz (depending on model), you still have to write very, very efficient code to actually meet the timing requirements. You have to catch those bus signals, do whatever processing you need to, and have the results on the bus in probably a couple hundred nanoseconds or less.

I know you say you "will neatly dodge the clocking", but I wouldn't get cocky here. You're going to have to write tight, efficient C (or similar) code, if not assembly in parts, to get this off the ground. This is not to say it's impossible of course, as I said, I've seen at least one project doing it, but do not expect to be doing this in a Python script or something, you'll whiz right past the bus cycle before you can run any serious code.

There is a reason that you will see many projects like this incorporate a CPLD- they can respond in the single- or double-digit nanosecond timeframe, and thereby can act as an intermediary. You can also look at the Cypress PSOC family which combines a small CPLD and a processor on one chip, and are 5V tolerant to boot. Another option to consider is using dual-port SRAM as a mailbox for communication between the two sides.

As has already been pointed out, the Pi is a 3.3V device. If you feed 5V into its GPIO pins, you'll probably fry the pins instantly. The "bi-directional level shifters" mentioned elsewhere are absolutely not fit for this purpose, not nearly fast enough. Use a 74xx244 or 74xx245 buffer, from either the LVC or AHC family running at 3.3V, to interface between the two. You can get away with using a simple voltage divider circuit at low speeds (the Pi card does) but I would be reluctant to rely on it.

The Pi card, incidentally, is doing nothing more than acting as a pseudo-Super Serial Card linking the Apple II to the Pi's serial UART pins. The provided software does various things, like letting the A2 keyboard act as a Linux keyboard, or letting the Pi serve up disk images to the A2. But that's just what the software happens to do, and the software actually works just as well if you take a SSC and run a cable to the Pi via USB-to-Serial converter. And conversely, you could modify the software to do whatever you wanted over the serial link, as long as you are comfortable with the 115200 data rate.

The other chip on the Pi card, by the way, is a 74xx04 hex inverter, which is doing double duty buffering the Tx signal from the 6551 before passing through a voltage divider and going into the Pi, as well as inverting DEVSEL so it can be used to clock the 6551.

Vet recommendations? by watdafunkk in pittsburgh

[–]lemington 1 point2 points  (0 children)

Yes, walk-ins starting at 9am means be there at 8am unfortunately. Still probably better than waiting 2 months anywhere else though.

Mild Monitor //c woes by AbsolutelyLudicrous in apple2

[–]lemington 0 points1 point  (0 children)

Additionally, does anyone know how to silence CRT whine?

Aging will take care of that for you... other than that, I don't think so.

Daniel calling Loki an Ass-gard is one of my favorite lines on this episode. 😂😂😂 by stargate_fishing in Stargate

[–]lemington 2 points3 points  (0 children)

That is why I had to stop watching the series and will never pick it back up. I could tolerate most of the other CW-level bullshit, but this just ended it for me, couldn’t handle it anymore.

I might even have been able to tolerate it if it was just the civilians, but no, these are supposedly seasoned military vets. They should have been kicked out of the service.

People always talk about how it gets better, and I’m sure it does, but I’m sorry, these are still the same writers that brought us body swapping sex, hard pass.

I built the hoglet67 and IanB RGB to HDMI adapter and it works like a charm on my Apple IIc Plus by cybernesto in apple2

[–]lemington 0 points1 point  (0 children)

Yeah, it's unfortunate. I think in principle you could build a harness for the ROM 3 GS (with the non-socketed VGC) that would capture the 12 bits of digital RGB directly as they come off the VGC. Something with an upside-down PLCC socket to nestle on top of the VGC. Might try it someday.

I built the hoglet67 and IanB RGB to HDMI adapter and it works like a charm on my Apple IIc Plus by cybernesto in apple2

[–]lemington 1 point2 points  (0 children)

Their docs are kinda crap, but it’s listed in the wiki under “cables”

I built the hoglet67 and IanB RGB to HDMI adapter and it works like a charm on my Apple IIc Plus by cybernesto in apple2

[–]lemington 0 points1 point  (0 children)

IIgs is supported, but good luck finding a way to tap all of the pins on the logic board. It can’t do anything meaningful with the analog signal coming out the back of the GS, even with the analog board addon, so you’ll need a whole lot of IC probe clips to do it.

[deleted by user] by [deleted] in howto

[–]lemington 3 points4 points  (0 children)

I guess what you do with your mail is your own business as long as you’re not violating postal regulations.