Martin_H wrote:
This morning I completed the l-star build, cleaned up the board with isopropyl alcohol, and put all the IC's in their sockets. I then installed the Apple1SRAM firmware and while the Propeller chip responded as expected, the 6502 did not. So I tried the Apple1 firmware and everything seems to work.
See my previous answer above: you need to jumper !RAMEN to P27 to use the SRAM chip. That disconnects P27 from KBCLK so it introduces the minor inconvenience that you have to attach the PS/2 keyboard and hit a key to get started, unless you change the software. But it gives you 32K of RAM which is the same as the Replica 1.
Quote:
Overall it was a simple build and a really compact 6502 computer. It makes me wonder what we could do with the expansion port. I used my DMM to check the pins and it looks like ground and V3.3 are available, but Vin and V5 are not.
V(in) is not available on the header, but 5V is available on pin 11. See the schematics at
https://github.com/jacgoudsmit/L-Star/r ... atic-5.pdf.
Sorry about the absence of V(in); I considered adding it to the expansion header when I changed it from 40 pins to 50 pins but I just couldn't imagine it being useful enough, and I would have to route a wide trace all the way around the circuit board and especially in the power supply area, space is already tight. There are other reasons too, such as grounding, and the possibility of simplifying the kit by removing the 5V regulator and requiring a 5V power supply input (e.g. from a USB charger or from widely available 5V power bricks.
As for ideas for the expansion bus: I designed the expansion port to have all the necessary signals that you could ever need. There are only a few signals such as the brown-out detection input on the Propeller and the Vector Pull output of the 65C02 that are not routed to the expansion port because hardly anyone ever uses them.
The expansion port even has connections to the PS/2 keyboard and video output connectors, so in theory it's possible to put all the jumpers on an expansion board (or better: let the expansion board
be the jumpers: it can connect the necessary pins by connections on the PCB).
It's possible to put a microcontroller with a USB port on an expansion board, and use it to replace the Prop Plug. By connecting some GPIO pins of that microcontroller to the PS/2 connector on the motherboard, it can even be used to translate PS/2 keystrokes to serial traffic, and have two more pins available on the motherboard (e.g. to control the full 128K of the SRAM chip).
It's also possible to create a computer with color video by putting a 6845 (in a configuration like the Color Graphics Adapter), a 6847 (in a configuration like the TRS-80 Color Computer) or a TMS9918 (in a configuration like it was used in MSX computers) on the expansion board, and route the output to the RCA socket on the motherboard. That would free up the P25 pin on the motherboard, which can then be used as the output of a software-defined address decoder.
Or if all three I/O lines are not in use for direct video output, direct SRAM control or direct PS/2 keyboard input, it's possible to implement a simple high-speed protocol to control the configuration of any hardware on expansion boards. For example, it could be used to send and receive high-speed data when emulating storage devices, or to control the configuration of some sort of programmable address decoder ("TBD") or to communicate with other microcontrollers that are on the expansion board.
Quote:
I imagine most of the other pins are the data, address, and control pins. So any boards probably need their own address decoding logic and possibly power supply if they need 5 volts.
With the 6502 bus connected directly to the Propeller, there are only 3 pins available for I/O. When using just the motherboard, it's possible to use monochrome 1-bit video and a PS/2 keyboard which is enough in most cases. The lower 64K of the SRAM chip can be used with a small bit of sacrifice: you have to use the 1-pin keyboard interface which makes the lights on the keyboard not work and you have to hit a key to measure the speed (I think it may be possible to make speed measurement unnecessary). The entire SRAM chip can be used if you are able to give up the keyboard or the video output (e.g. use only the serial port).
That's a lot of compromises, but because the expansion connector is designed the way it is, it's possible to add extra hardware to e.g. generate color video and/or use the keyboard without the limitations of the one-pin driver, and use the three I/O lines either as the output of software-defined address decoders, or as communication lines to control the expansion hardware. Hopefully you agree that this still gives you many possibilities to make the project useful, regardless of whether you want just an Apple 1 Replica or you want to design your own system.
My task is to make all those possibilities clear, but it will take a while before I can get all the information online on the l-star.org website.
===Jac