I am trying to understand how the front panel code works so I can write a front panel for an emulator that I am writing. There are a couple of things I am not sure about.
One is why the SET REMOTE MASTER command resets everything by calling reset_all? This causes me a problem because I have commands to load the initial boot code into memory, set the program counter etc as commands that I setup in the config file before calling the sim_panel_start_simulator_debug function, which then appends the aforementioned SET REMOTE MASTER command, which blows away all my setup. This also begs the question of how it is intended to work with ini files when using the front panel. I am not sure that I should have to bake the ini file commands into the console code. I know I could just copy the ini file to the temporary config file before calling sim_panel_start_simulator_debug but it seems a little inelegant and I am not sure what the intention is here. Can anyone explain to me how this is intended to work? The other thing that I am confused about is when the displayed registers are supposed to be updated. I had assumed that when the simulator is running you would want to update the displayed registers on a regular basis. But the update_display variable is only updated when the simulator is sent REGISTERS_REPEAT_ECHO, and that only ever happens if a new register has been added to the panel. The rest of the time update_display is not changed and so the display of the register values does not change as the simulator executes. How is the panel intended to give a "real time" display of the register values? Thanks Rob
_______________________________________________ Simh mailing list [email protected] http://mailman.trailing-edge.com/mailman/listinfo/simh
