[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Logic Gate Simulator working
- Subject: Logic Gate Simulator working
- From: aiiadict@hotmail.com (Rich J.)
- Date: 14 Jun 2001 22:35:15 -0700
- Newsgroups: comp.sys.apple2
- Organization: http://groups.google.com/
- Xref: archiver1.google.com comp.sys.apple2:9035
Hi newsgroup,
I can now design (input data in DATA statements) logic circuits
and simulate them.
There is currently no graphic output, but the
graphic display code is written
and needs to be debugged.
AND,OR,NOT gates supported.
Next to add:
1) datafiles which describe 74-- series IC's
(anybody know where to get logic diagrams for these chips?)
2) programmable clock
3) add other logic devices (J/K flopflops, suggestions for others?)
4) Add a GUI to place gates
5) incorporate the simulator into the PCB CAD program, so you
can see a circuit simulated on the HGR representation of the
PCB (that is what I need #1 above for)
6)INPUT bits from parallel port. Currently the input bits
are input from the Keyboard. the program sits and waits
until all input bits have been entered.
I want to run the simulator in a loop with no keyboard
input, and input the bits by parallel card.
This will
speed things up AND allow input from 8 bit hardware
devices TO the simulator.
I also plan to add a "driver" simulator. Load your
OBJ file for a hardware driver. If it needs input
from a simulated circuit, I can change a
LDA HARDWARE
to:
JSR FIND-STATE-OF-HARDWARE-FROM-SIMULATOR
FIND-STATE-OF-HARDWARE-FROM-SIMULATOR would return to the program
with the value of HARDWARE in the Accumulator.
The same can be done with OUTPUT from a 6502 program, so you
could route data
6502-simulator-realworld(parallel card)
or
realworld(parallel card)-simulator-6502
slower than todays simulators, but it should make a nice
development system for hardware.
Rich