Commit Graph

268 Commits

Author SHA1 Message Date
David Schmidt 7e788187b2
Merge pull request #10 from roadriverrail/master
Network support on modern Linux machines
2020-11-14 11:08:51 -05:00
David Schmidt d1b556c5c5
Fix from Kent Dickey on the WAI instruction
Fantavision hangs when it starts on KEGS-based emulators (which includes GSport and GSplus) due to a bug in the way KEGS handles the WAI instruction.  Fantavision masks interrupts with SEI, sets a SHR line interrupt, and then does a WAI instruction.  This hangs KEGS since it expects an actual interrupt to end the WAI, but there won't be one since interrupts are masked.  I never realized this was a valid WAI use case.

The fix is easy.  In `instable.h`, change:
```
instcb_SYM              /*  WAI */
        g_wait_pending = 1;
        CYCLES_FINISH
```
(There may be some stale #ifdef ASM code, just ignore that) to:
```
instcb_SYM              /*  WAI */
        if(g_irq_pending) {
                g_wait_pending = 0;
                INC_KPC_1;
        } else {
                g_wait_pending = 1;
        }
```
Kent
2020-08-19 15:24:31 -04:00
Rhett Aultman b3de3bb4c7 Network support on modern Linux machines
This commit introduces two changes:

* The vars for Linux have been modernized to support building an i386
binary on an x86-64 environment, as x86-64 is the overwhelmingly most
common case these days.

* Vars were introduced to enable Uthernet emulation on Linux.
Instructions on its use are provided in the README.
2020-08-08 19:42:00 -04:00
david-schmidt 3e26fb1ecd Update to latest cygwin libraries 2017-10-10 15:49:24 -04:00
david-schmidt 721a604e9f Aim URLs at Github 2017-10-05 13:33:15 -04:00
David Schmidt 5a36db0663 Update README.md 2017-10-05 13:26:43 -04:00
david-schmidt 409106ed09 Help Maven understand the difference between https and http 2017-10-05 13:23:08 -04:00
david-schmidt dc00a783cc Rebuilding web content 2017-10-05 13:14:24 -04:00
david-schmidt 1be45607fa Merge branch 'master' of https://github.com/david-schmidt/gsport.git 2017-10-05 13:00:33 -04:00
david-schmidt 8193b7c4d5 Host documentation at Github 2017-10-05 12:59:40 -04:00
David Schmidt 31692f5fa6 Update README.md 2017-10-05 12:23:59 -04:00
david-schmidt 876b4519d0 Front-page items after move to Github 2017-10-05 11:25:17 -04:00
David Schmidt ec6f8bfbb4 Update to latest text of GPL 2.0 2017-10-05 13:29:07 +00:00
Nick Westgate bfb8ad621d Fixed Windows joystick support. Has nobody ever used this? <:-| 2017-10-05 10:00:05 +00:00
Nick Westgate 8dda6fd620 Fix F4 can exit app after Alt-Tab 2017-04-16 10:18:11 +00:00
David Schmidt d83331d9ee Close up a brace for MS URL 2016-01-26 19:34:28 +00:00
Peter f50274816d Remove an unused variable to cleanup a compiler warning. 2016-01-26 19:10:18 +00:00
Peter 6159ff50c0 Document the steps for building with Visual Studio. Cygwin works too on MS Windows if you prefer. 2016-01-26 19:06:27 +00:00
Peter 9a48a8c099 Update the Visual Studio project files for compatibility with the latest free "2015 Community" edition. If you use an older edition (like 2013), the Visual Studio IDE will present a warning but allow you to continue. 2016-01-26 18:52:33 +00:00
Nick Westgate 1462ff0dfb Corrected some of the standard 16 colours for TEXT/LORES/HIRES/DHIRES with RGB values extracted from ROM 3 IIgs video signals by Koichi Nishida. 2015-10-01 10:04:36 +00:00
Christopher Mason cddea99bd5 Missed one string. 2015-07-12 00:00:59 +00:00
Christopher Mason 3d256ecb15 Hide virtual printer menus if not building with SDL. Minor formatting changes to menus (consistent casing of "ImageWriter") and clarify that the other virtual printer is an Epson. 2015-07-08 21:35:07 +00:00
Christopher Mason eda058cd0b Fix Ensoniq DOC swap mode behavior so Ninjaforce's NinjaTracker plays looped instruments correctly. 2015-06-06 02:49:33 +00:00
Peter 6ff24f85d0 Configure the "enable AppleTalk diagnostic messages" flag earlier so that initialization messages get printed. 2015-05-05 18:02:27 +00:00
Christopher Mason 79e49b9915 Enable collate function in Windows printer dialog.
Note, this requires that the printer driver internally supports multiple copies and collation. Otherwise the function will not be available to the user.
2015-05-02 04:51:52 +00:00
Christopher Mason eeec76ecaf Improve handling of Windows printer dialog when printing to a native printer.
-If printing with multipage mode on, user will be prompted with the Windows printer dialog with each print job. If multipage mode is off, user will be prompted every time printer is reset to avoid being prompted for every page.

-Improved error handling when user clicks "Cancel" on the print dialog. An error dialog is shown and the Virtual Imagewriter falls back to bitmap output.
2015-05-02 04:15:12 +00:00
Christopher Mason 4eb6157e11 Force re-creation of the virtual Imagewriter whenever the user enters the control panel. No need to manually select the "Apply Changes" menu item anymore. Moved printer reset function to the main menu so user can reset the virtual Imagewriter quickly and easily if they have a problem. 2015-04-29 19:59:07 +00:00
Peter 9cc8c5645f Improve the performance of AppleTalk.
Prior to this patch, network boot to the desktop at 8 MHz CPU (with "turbo" AppleTalk timing) took 2:08.  After this patch, the same network boot takes 1:17.

Previously, the bridge processed packets from within the emulator's 60 Hz update loop.  This bottlenecks network performance, so this patch increases the update rate.
2015-04-14 01:25:47 +00:00
Peter 1b370205c1 Change the status lines on Windows to use white text on a black background.
r355 changed the window background from white to black (which looks good in full screen mode), and this revision changes the status lines similarly for consistency.
2015-03-15 20:45:16 +00:00
Christopher Mason 3563ed395e Added typedef USHORT so non-Windows platforms can properly compile scc_socket_driver.c. 2015-03-14 17:57:47 +00:00
Nick Westgate 93ee32f993 Improved error handling for SCC socket dial with port number. 2015-02-12 20:05:42 +00:00
Christopher Mason 5cc387205e Always show mouse cursor when printer selection dialog is shown. Previously the cursor was hidden when under GS/OS or when the mouse was "captured" via F8. 2015-02-09 02:23:14 +00:00
Nick Westgate 514a316566 Fix VS warning that should be an error! 2015-02-08 08:47:42 +00:00
Nick Westgate 383f658123 Added SCC socket dial with port number code from Andrew Roughan. Fixed socket closing for Windows. 2015-02-08 06:00:40 +00:00
Christopher Mason 199e2f9a76 Add support to Imagewriter for multiple page sizes and banner printing. 2015-02-08 04:55:32 +00:00
Nick Westgate 502b3f50d9 Integer-only scaled full-screen mode on Windows. (Non-integer scaling can be enabled in the source.) Doing this fixed an existing bug where full-screen restore swapped window position X and Y. 2015-02-06 02:12:28 +00:00
Christopher Mason a823643faa Fix page margins in Windows once and for all. Clip the source bitmap by the equivalent amount given by the printer driver. Also set the default left margin of the emulated Imagewriter to 1/4 inch. 2015-02-04 05:39:25 +00:00
Christopher Mason 766a0744d8 Add menu item to allow user to apply changes to emulated Imagewriter without restarting GSport. To use, make changes and then select "Apply Changes". 2015-02-03 00:02:45 +00:00
Nick Westgate fa8313dd1c Fix 5.25 track stepping bug. The only test case is that Mabel's Mansion now boots. 2015-02-02 09:51:26 +00:00
Christopher Mason 753d907315 Slight tweak to pixel resize function for low resolution output. 2015-02-01 20:38:39 +00:00
Christopher Mason 05e6b4c389 Fix Windows printer output to be centered regardless of the margin offsets imposed by a printer driver.
Switch emulated Imagewriter to using page units equivalent to Postscript points (1/72th of an inch) vs 1/10th of an inch. This is to aid in adding additional paper size support in the future.
2015-02-01 20:13:14 +00:00
Peter e3b7bcd23e Fix a mis-located #endif that would cause the C compiler to skip ImageWriter related function prototypes. Missing prototypes triggered several compiler warnings. 2015-01-07 02:20:23 +00:00
Christopher Mason ce319c9370 Speed up serial transfer to Virtual Imagewriter. 2014-12-16 21:56:24 +00:00
Christopher Mason 7e57fdbe9c Fix annoying Ensoniq DOC bug that was causing out-of-tune notes in Synthlab and Diversi-Tune. 2014-08-31 03:17:37 +00:00
Christopher Mason fdead45d01 Implement RLE and ASCII85 encoding on color Postscript output in the Imagewriter emulator. Fix B&W Postscript output scaling bug. 2014-07-30 03:55:12 +00:00
Christopher Mason 4c064fd973 Add vars_x86linux_sdl so folks can build virtual printer support under Linux X11. 2014-07-23 01:28:17 +00:00
David Schmidt ae7f849af1 Update build instructions for Raspberry Pi 2014-07-10 20:24:35 +00:00
David Schmidt 2432232a60 Trim up the emulated printer documentation 2014-06-26 17:24:08 +00:00
David Schmidt 7e21d64bf0 Update web assets for latest Maven 2014-06-26 16:35:45 +00:00
David Schmidt 8266911a0c Add Christopher Mason's emulated Imagewriter LQ/II doc 2014-06-26 16:34:03 +00:00