File: README

package info (click to toggle)
nitpic 0.1-16
  • links: PTS
  • area: main
  • in suites: buster, stretch
  • size: 208 kB
  • ctags: 300
  • sloc: cpp: 2,212; ansic: 408; asm: 144; makefile: 55
file content (50 lines) | stat: -rw-r--r-- 1,822 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50


				  nitpic: a Microchip PIC simulator


This program is an X Windows-based simulator for the Microchip PIC
series of microcontrollers.  It's written in C++ and is known to
compile correctly with gcc-2.5.8 under Linux and SunOS4.1.3U.  This is
an alpha release, with many known incompletenesses and suspected bugs,
as well as a great deal of cruft that I plan to clean up before beta.
It currently supports the PIC16C84 only, but I have kept other
processors in mind while coding, and I think it will be trivial to add
support for the rest of the PIC family, and pretty easy even for
unrelated CPUs.

I'd appreciate hearing about problems you may have, as well as
suggestions for improvements.  I'll be away on business for the next
two weeks, but plan to continue working on this when I return.

dave madden <dhm@vheissu.net.dcl.co.jp>
12-nov-94


Known shortcomings:

* The 16C84 EEPROM data memory is not implemented
* Writing PCL doesn't cause a jump
* Interrupts, including RTCC rollover, don't work
* The "File" button doesn't let you load a new object file
* No warning on stack overflow
* The I/O ports aren't handled properly (there's something screwy
  about read/modify/write instructions that I don't understand yet).
* I'm not sure the ADD and SUB instructions set C and DC properly.

Bugs:

* Sometimes the instruction pointer gets screwed up (graphics only --
  the simulator keeps working)

Futures:

* "LEDs" to indicate IC pin states
* Logic traces of IC pin states
* Breakpoints
* Some method to provide input signals
* Change 16C84 simulator to use an "instruction prefetch" cycle.
  Jumps will replace the prefetched instruction with a NOP, which will
  be executed while the jump target instruction is being fetched.
  (This is how the real thing works, isn't it?)
* Add simulators for other PICs