Commit graph

17 commits

Author SHA1 Message Date
Mark Pizzolato
0263e0b950 BESM6: Fix CONST declaration for panel initialization routine 2016-09-14 16:43:25 -07:00
Mark Pizzolato
5531ccb175 ALL: Massive 'const' cleanup
These changes facilitate more robust parameter type checking and helps
to identify unexpected coding errors.

Most simulators can now also be compiled with a C++ compiler without
warnings.

Additionally, these changes have also been configured to facilitate easier
backporting of simulator and device simulation modules to run under the
simh v3.9+ SCP framework.
2016-05-15 15:25:33 -07:00
Mark Pizzolato
de0d251c75 TIMER, SCP: Change the sim_activate_after APIs to pass the delay value as uint32.
Also change all sim_defs.h structure declarations and references of sim_
structures to use the typedef names everywhere.
2015-12-10 06:33:59 -08:00
Leo Broukhis
68efe4d36a BESM6: Enhanced the front panel, code cleanup. 2015-02-12 20:35:33 -08:00
Mark Pizzolato
9accae5905 BESM6 and VAX: Cleanup for building on VMS 2015-02-12 12:32:39 -08:00
Serge Vakulenko
5ed1909839 BESM-6: some correction for indentation and spacing. 2015-01-21 12:29:29 -08:00
Leo Broukhis
0ee809546c BESM6: Fonts should be closed explicitly before terminating SDL_ttf. 2015-01-20 21:32:20 -08:00
Leo Broukhis
0d41242520 BESM6: Now builds without SDL, fixed CPU reset regression, output to parallel terminals works. 2015-01-15 00:07:03 -08:00
Leo Broukhis
9ff642f616 BESM6: Implemented hardwired front panel programs,
smoothed front panel lights, corrected a typo in besm6_tty.c
2015-01-14 00:39:55 -08:00
Leo Broukhis
793227f060 BESM6: Implemented SET CPU PANEL/NOPANEL. 2015-01-10 01:25:52 -08:00
Leo Broukhis
1787947299 BESM6: Translated comments in besm6_panel.c 2015-01-08 22:11:09 -08:00
Mark Pizzolato
703c5697be BESM6: Have makefile search for one of several potential FONTNAME fonts in several potential FONTPATH directories.
Fix besm6_panel to use FONTFILE when building with SDL 1.2,
Fix besm6_panel compile issues on Windows
Provide FONTFILE name via either -DFONTFILE OR via a #define in a generated besm6_panel_font.h
2015-01-08 22:11:00 -08:00
Leo Broukhis
76cdf0fd10 BESM6: Got rid of ftw(); the font file should be provided as a build option. 2015-01-08 22:09:59 -08:00
Leo Broukhis
8a5d22bd60 BESM6: No need for the SDL_main trick in SDL1. 2014-12-30 18:56:41 -08:00
Leo Broukhis
cc33257836 BESM6: Removed tabs, reindented, removed GNU extensions. 2014-12-30 11:42:52 -08:00
Leo Broukhis
b4eeaa77de BESM6: Converted files to CRLF format
Also added support for loading such files, and a few tests.
2014-12-30 00:41:31 -08:00
Leo Broukhis
659600ff59 BESM6: Added target 'besm6' to makefile; added new files in the BESM6 subdirectory. 2014-12-29 21:13:00 -08:00