8085 Simulator IDE External Modules
 
 

8085 Simulator IDE is an automation (ActiveX) server/client application. This feature enables communication with external simulation modules that can be developed by home developers and third parties using various Development Systems for Windows.

External client application can access 8085 Simulator IDE server services by creating an ActiveX object using i8085simulatoride.server class.
 
Available functions and procedures:
- getmem(address) function will return the value in the memory location specified by 'address' argument [0-65535].
- setmem(address,value) procedure will put the 'value' argument [0-255] in the memory location specified by 'address' argument [0-65535].
- getio(address) function will return the value on the I/O port specified by 'address' argument [0-255].
- setio(address,value) procedure will put the 'value' argument [0-255] on the I/O port specified by 'address' argument [0-255].
- i8085trap() procedure with no arguments will generate TRAP interrupt signal.
- i8085rst75() procedure with no arguments will generate RST 7.5 interrupt signal.
- i8085rst65() procedure with no arguments will generate RST 6.5 interrupt signal.
- i8085rst55() procedure with no arguments will generate RST 5.5 interrupt signal.
- i8085intr() procedure with no arguments will generate INTR interrupt signal.
- i8085reset() procedure with no arguments will generate RESET signal.
- gethalt() function with no arguments will return the HALT state [0-1].
- getcrystal() function with no arguments will return the clock frequency parameter.
- getclockcycles() function with no arguments will return the number of clock cycles passed after the start of the simulation. The last two functions will enable the external client application to develop a real time behavior if needed.
- getinst() function with no arguments will return the mnemonics of last executed instruction [string].
- geta() function will return the value in A register.
- getf() function will return the value in F (flag) register.
- getb() function will return the value in B register.
- getc() function will return the value in C register.
- getd() function will return the value in D register.
- gete() function will return the value in E register.
- geth() function will return the value in H register.
- getl() function will return the value in L register.
- getsp() function will return the value in SP register.
- getpc() function will return the value in PC register.
 
Full support and full synchronization is available for external applications with client/server capabilities. External server module should provide the following procedures:
- objectinit() procedure will be called at the beginning of the simulation in 8085 Simulator IDE. With this procedure external module should be initialized to a known initial state.
- objectrefresh() procedure will be called after every simulated instruction.
- writeio(port,data) procedure will be called after every simulated OUT instruction and its arguments will be available for the external module.
- readio(port,data) procedure will be called during the simulation of every IN instruction and the external module should assign the non-negative value [0-255] to the second argument (that should be addressed by reference and not by value) only if it is assigned to the specified port argument.
- objectterm() procedure needs to contain the code to terminate external module application (typically End statement).
The class name should be set using External Modules interface available from Tools menu of 8085 Simulator IDE. External client/server applications will be started and terminated automatically with 8085 Simulator IDE.
 

External Module Template - DOWNLOAD
 
The archive contains the Microsoft Visual Basic 6.0 project files that can be used as a template for developing custom external modules for 8085 Simulator IDE.
 

Character LCD Simulation Module - DOWNLOAD
 
The archive contains the executable file of LCD Module simulator, Basic program for 8085 Simulator IDE integrated Basic compiler that will display a welcome message on the LCD module and installation instructions.
 
Screenshot: view