Mucking about with OS/2

This commit is contained in:
David Schmidt 2010-04-22 03:41:14 +00:00
parent acb2bce28e
commit c4d13a5ee1
3 changed files with 35 additions and 26 deletions

View File

@ -2,26 +2,31 @@
OBJECTS1 = dirport.obj adb.obj clock.obj dis.obj engine_c.obj scc.obj \
iwm.obj joystick_driver.obj moremem.obj paddles.obj \
sim65816.obj smartport.obj sound.obj sound_driver.obj \
video.obj os2driver.obj config.obj
sim65816.obj smartport.obj sound.obj \
video.obj config.obj os2driver.obj
{..\..}.c.obj:
@echo " Compile::C++ Compiler "
icc.exe /DTCPV40HDRS /DBSD_SELECT /Dinline= /Q /Gm /Gd- /C %s
icc.exe /DTCPV40HDRS /DBSD_SELECT /Dinline= /I..\.. /Q /Gm /Gd- /C %s
{src\}.c.obj:
@echo " Compile::C++ Compiler "
icc.exe /DTCPV40HDRS /DBSD_SELECT /Dinline= /Q /Gm /Gd- /C %s
icc.exe /DTCPV40HDRS /DBSD_SELECT /Dinline= /I..\.. /Q /Gm /Gd- /C %s
gsport.exe: $(OBJECTS1) ../../os2driver.c
.c.obj:
@echo " Compile::C++ Compiler "
icc.exe /DTCPV40HDRS /DBSD_SELECT /Dinline= /I..\.. /Q /Gm /Gd- /C %s
gsport.exe: $(OBJECTS1)
@echo " Link::Linker "
icc.exe @<<
/B" /pmtype:vio /st:196608 "
/FePrivoxy.exe
/B" /pmtype:pm /st:196608 "
/Fegsport.exe
so32dll.lib
tcp32dll.lib
$(OBJECTS1)
<<
rc gsportos2.rc gsport.exe
echo done
clean:
@ -47,6 +52,6 @@ sim65816.obj: ../../sim65816.c ../../scc.c ../../defc.h ../../defcomm.h ../../iw
smartport.obj: ../../smartport.c ../../scc.c ../../defc.h ../../defcomm.h ../../iwm.h ../../protos.h
sound.obj: ../../sound.c ../../scc.c ../../defc.h ../../defcomm.h ../../iwm.h ../../protos.h
sound_driver.obj: ../../sound_driver.c ../../scc.c ../../defc.h ../../defcomm.h ../../iwm.h ../../protos.h ../../sound.h
video.obj: ../../video.c ../../scc.c ../../defc.h ../../defcomm.h ../../iwm.h ../../protos.h ../../superhires.h ../../gsportfont.h
os2driver.obj: ../../os2driver.c ../../scc.c ../../defc.h ../../defcomm.h ../../iwm.h ../../protos.h
video.obj: ../../video.c ../../scc.c ../../defc.h ../../defcomm.h ../../iwm.h ../../protos.h ../../superhires.h ../../kegsfont.h
os2driver.obj: os2driver.c gsportos2.h ../../scc.c ../../defc.h ../../defcomm.h ../../iwm.h ../../protos.h


View File

@ -1,7 +1,7 @@
/*
GSport - an Apple //gs Emulator
Copyright (C) 2010 by GSport contributors
Based on the KEGS emulator written by and Copyright (C) 2003 Kent Dickey
This program is free software; you can redistribute it and/or modify it

View File

@ -1,4 +1,23 @@
/**/
/*
GSport - an Apple //gs Emulator
Copyright (C) 2010 by GSport contributors
Based on the KEGS emulator written by and Copyright (C) 2003 Kent Dickey
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 2 of the License, or (at your
option) any later version.
This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include <os2.h>
#include "gsportos2.h"
@ -17,26 +36,11 @@ END
ACCELTABLE ID_WINDOW PRELOAD
BEGIN
"a", ID_OPTION1, CONTROL
"b", ID_OPTION2, CONTROL
"c", ID_OPTION3, CONTROL
"A", ID_OPTION1, CONTROL
"B", ID_OPTION2, CONTROL
"C", ID_OPTION3, CONTROL
"a", ID_OPTION1, CONTROL, SHIFT
"b", ID_OPTION2, CONTROL, SHIFT
"c", ID_OPTION3, CONTROL, SHIFT
"A", ID_OPTION1, CONTROL, SHIFT
"B", ID_OPTION2, CONTROL, SHIFT
"C", ID_OPTION3, CONTROL, SHIFT
VK_F3, ID_EXITPROG, VIRTUALKEY
END
STRINGTABLE PRELOAD
BEGIN
IDS_HELLO, "Hello"
IDS_1, "--1-- "
IDS_2, "--2-- "
IDS_3, "--3-- "
END