

@280

9 years 
sacerdot 
Bug fixed in assemblying AJMP.



@220

9 years 
mulligan 
Started on timer 2 capture mode.



@219

9 years 
mulligan 
Additional features of timer 2 auto reload implemented.



@218

9 years 
mulligan 
Timer 2 16 bit auto reload implemented.



@217

9 years 
mulligan 
Back to the drawing board with interrupts ... giving up and …



@216

9 years 
mulligan 
Interrupts are harder than they look.



@215

9 years 
mulligan 
More on implementation of interrupts. Need to add a queue for …



@214

9 years 
mulligan 
Started implementation of interrupts.



@213

9 years 
mulligan 
implementing interrupts



@212

9 years 
mulligan 
Refactored main emulator loop to improve clarity. Debugging serial …



@209

9 years 
mulligan 
Compiled again.



@206

9 years 
mulligan 
Fixed serial output.



@205

9 years 
mulligan 
Reworked handling of serial port input, and implemented remaining …



@203

9 years 
mulligan 
Serial input test: seems to work correctly (small bug corrected where …



@202

9 years 
mulligan 
Remaining two timer modes implemented.



@201

9 years 
mulligan 
Implemented output onto P1 and P3 lines, implemented a few of the …



@200

9 years 
mulligan 
New features:
1) conditional jumps to labels implemented
[Note: …



@199

9 years 
mulligan 
Fixes to debug code to make serial output more clear. CJNE/JNZ is not …



@198

9 years 
mulligan 
Added more info to status printout. Found weird bug in emulator: cjne …



@196

9 years 
mulligan 
Improvements to processor status output. Now includes readout of main …



@195

9 years 
mulligan 
Added printout of processor status when we enter the infinite SJMP …



@194

9 years 
mulligan 
Oops: small change caused compile to fail. Works again, now.



@193

9 years 
mulligan 
Fixed type errors relating to serial output. The serial port code …



@191

9 years 
mulligan 
Changed way we handle I/O due to assert false bug on first serial I/O …



@168

9 years 
mulligan 
Implemented latch access.



@166

9 years 
mulligan 
I/O support added for serial buffer.



@163

9 years 
mulligan 
Fixed bug with JNB not jumping correctly.



@162

9 years 
mulligan 
Timers implemented (including demonic thirteen bit timer).



@161

9 years 
mulligan 
Type errors fixed. Add16 with carry implemented.



@159

9 years 
mulligan 
Code for timers now in place. Needs further implementation.



@158

9 years 
mulligan 
Lots of bugs fixed. SFR access implemented.



@151

9 years 
mulligan 
Implementing SFR access. Type error.



@150

9 years 
mulligan 
Manages to load and emulate a simple array program. A few obscure bugs.



@148

9 years 
mulligan 
Bug fixed: storage destination for all logical operations was …



@147

9 years 
mulligan 
Changes made today: we now have an emulator that is able to emulate …



@145

9 years 
mulligan 
Bug in LCALL fixed.



@144

9 years 
sacerdot 
The sp can also point to upper internal ram. Fixed everywhere.



@143

9 years 
sacerdot 
More SFRs (8052 ones were missing).
SFR catalogation (is that fully …



@142

9 years 
sacerdot 
Rough implementation of direct (i.e. no BIT) SFR access.
Note: I/O is …



@138

9 years 
sacerdot 
Several bug fixes and code cleanup.
New main file: test.ml to parse …



@130

9 years 
mulligan 
Commit again? Not sure what happened. All Parser files were already …



@129

9 years 
sacerdot 
Better I/O modelling (still initial ideas).



@123

9 years 
mulligan 
IntelHex? file modified: string_of_intel_hex_entry implemented.



@121

9 years 
mulligan 
Fixed obscure type error in pretty.



@120

9 years 
mulligan 
Fixed weird type errors in ASMInterpret.



@119

9 years 
mulligan 
Refactoring of ASMInterpret complete.



@118

9 years 
mulligan 
LCALL reimplemented.



@117

9 years 
mulligan 
Sorted out inconsistent ocaml state (???). Refactored ACALL.



@116

9 years 
mulligan 
RETs done.



@115

9 years 
mulligan 
Various jumps refactored.



@114

9 years 
mulligan 
Noticed redundancy in ANL and ORL instructions, removed. Introduced …



@113

9 years 
mulligan 
JC and JNC refactored.



@112

9 years 
mulligan 
PUSH, POP, XCH and XCHD refactored and tidied.



@111

9 years 
mulligan 
MOVC instructions refactored.



@110

9 years 
mulligan 
MOV instructions refactored.



@109

9 years 
mulligan 
Rotation and SWAP instructions refactored.



@108

9 years 
mulligan 
CPL instructions refactored.



@107

9 years 
mulligan 
CLR instruction refactored.



@106

9 years 
mulligan 
Same with ORL and XRL instructions.



@105

9 years 
mulligan 
Significantly improved implementation of ANL instructions.



@104

9 years 
mulligan 
Significantly improved implementation of DA instruction: code reduced …



@103

9 years 
mulligan 
fixed implementation of assembly, fixed typing error in execute.



@102

9 years 
mulligan 
Implemented INC DPTR. Type error related to polymorphic variants
though.



@101

9 years 
mulligan 
Fixing type errors in execute1.



@100

9 years 
mulligan 
More added to ASMInterpret.



@97

9 years 
mulligan 
Move to polymorphic variants everywhere (scary...)



@95

9 years 
mulligan 
fixed typing errors in ASMInterpret up to execute1.



@93

9 years 
mulligan 
Fixed INC DPTR to assert false.



@92

9 years 
mulligan 
Fixed physical interface file. Refactoring ASMInterface.



@91

9 years 
mulligan 
Finished porting/fix type errors in physical.



@90

9 years 
mulligan 
Ported physical.ml to be compatible with new bitvector code, started …



@83

9 years 
mulligan 
Lots of work done on tidying up code.



@81

9 years 
mulligan 
INC DPTR partially implemented.



@80

9 years 
mulligan 
ANL, ORL and XRL instructions implemented.



@79

9 years 
mulligan 
One of the ANL instruction combinations implemented.



@78

9 years 
mulligan 
LCALL implemented.



@77

9 years 
mulligan 
ACALL implemented.



@76

9 years 
mulligan 
MOVC instruction implemented.



@75

9 years 
mulligan 
AJMP implemented.



@74

9 years 
mulligan 
RETI instruction implemented.



@73

9 years 
mulligan 
RET instruction implemented.



@72

9 years 
mulligan 
DA instruction implemented: pretty complex!



@71

9 years 
mulligan 
Two more jump instructions implemented.



@70

9 years 
mulligan 
XCHD implemented.



@69

9 years 
mulligan 
PUSH implemented.



@68

9 years 
mulligan 
POP implemented ... at last.



@67

9 years 
mulligan 
DJNZ instruction finished.



@62

9 years 
mulligan 
Many additions to Bit, Nibble and Byte API, as well as more …



@60

9 years 
mulligan 
Finished implementing all jump instructions.



@58

9 years 
mulligan 
Bug fixed in CJNE instruction. More jump instructions implemented.



@57

9 years 
mulligan 
More instructions implemented. Started cleaning up code by moving …



@55

9 years 
mulligan 
CJNE instruction finished.



@54

9 years 
mulligan 
CLR instructions implemented.



@53

9 years 
mulligan 
All RR* and RL* instructions implemented.



@52

9 years 
mulligan 
RL, RR and SWAP implemented.



@51

9 years 
mulligan 
NOP and SETB implemented.



@50

9 years 
mulligan 
More missing cases added to the ASMInterpret functions. Pretty …



@49

9 years 
mulligan 
Fixed bug in ASMInterpret functions: CPL functions were not …



@46

9 years 
mulligan 
MOV done.



@44

9 years 
mulligan 
Added pretty printing functions for bits, bytes, words etc.


