Skip to content

Commit 263ecfc

Browse files
committed
Merge commit '668183aab' into VCC-1.200b
2 parents c37dc30 + 668183a commit 263ecfc

File tree

130 files changed

+2166
-3248
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

130 files changed

+2166
-3248
lines changed

.gitignore

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
1+
#OS files
2+
[Tt]humbs.db
3+
*.DS_Store
4+
15
*.o
26
*.a
37
*.stackdump
48

9+
10+
# Visual Studio
511
*.obj
612
*.dll
713
*.exe
@@ -14,8 +20,11 @@
1420
*.pch
1521
*.pch.*
1622
*.gch
23+
*.aps
1724

1825
Debug
1926
Release
2027
All
2128

29+
vcc/coco3.rom
30+
vcc/disk11.rom

Cassette.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ unsigned int LoadTape(void)
271271
DialogOpen=1;
272272
memset(&ofn,0,sizeof(ofn));
273273
ofn.lStructSize = sizeof (OPENFILENAME);
274-
ofn.hwndOwner = NULL;
274+
ofn.hwndOwner = GetTopWindow(NULL);
275275
ofn.Flags = OFN_HIDEREADONLY ;
276276
ofn.hInstance = GetModuleHandle(0);
277277
ofn.lpstrDefExt ="";

Cassette.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#ifndef __CASSETTE_H__
2+
#define __CASSETTE_H__
13
/*
24
Copyright 2015 by Joseph Forgione
35
This file is part of VCC (Virtual Color Computer).
@@ -33,3 +35,4 @@ void LoadCassetteBuffer(unsigned char *);
3335
void FlushCassetteBuffer(unsigned char *,unsigned int);
3436
void GetTapeName(char *);
3537

38+
#endif

CopyFiles.bat

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
copy .\release\vcc.exe .\vcc
2-
copy .\becker\release\*.dll .\vcc
3-
copy .\fd502\release\*.dll .\vcc
4-
copy .\harddisk\release\*.dll .\vcc
5-
copy .\mpi\release\*.dll .\vcc
6-
copy .\orch90\release\*.dll .\vcc
7-
copy .\superide\release\*.dll .\vcc
1+
copy .\__obj\Win32\Release\vcc\out\vcc.exe .\vcc
2+
copy .\__obj\Win32\Release\becker\out\*.dll .\vcc
3+
copy .\__obj\Win32\Release\fd502\out\*.dll .\vcc
4+
copy .\__obj\Win32\Release\harddisk\out\*.dll .\vcc
5+
copy .\__obj\Win32\Release\mpi\out\*.dll .\vcc
6+
copy .\__obj\Win32\Release\orch90\out\*.dll .\vcc
7+
copy .\__obj\Win32\Release\superide\out\*.dll .\vcc

DirectDrawInterface.h

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#ifndef __DIRECTDRAWINTERFACE_H__
2+
#define __DIRECTDRAWINTERFACE_H__
13
/*
24
Copyright 2015 by Joseph Forgione
35
This file is part of VCC (Virtual Color Computer).
@@ -31,4 +33,6 @@ float Static(SystemState *);
3133

3234

3335

34-
#define MAX_LOADSTRING 100
36+
#define MAX_LOADSTRING 100
37+
38+
#endif

FD502/defines.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#ifndef __DEFINES_H__
2+
#define __DEFINES_H__
13
/*
24
Copyright 2015 by Joseph Forgione
35
This file is part of VCC (Virtual Color Computer).
@@ -40,4 +42,5 @@ This file is part of VCC (Virtual Color Computer).
4042
#define FIRQ 2
4143
#define NMI 3
4244

45+
#endif
4346

FD502/distortc.h

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#ifndef __DISTORTC_H__
2+
#define __DISTORTC_H__
13
/*
24
Copyright 2015 by Joseph Forgione
35
This file is part of VCC (Virtual Color Computer).
@@ -16,4 +18,6 @@ This file is part of VCC (Virtual Color Computer).
1618
along with VCC (Virtual Color Computer). If not, see <http://www.gnu.org/licenses/>.
1719
*/
1820
unsigned char read_time(unsigned short);
19-
void write_time(unsigned char,unsigned char);
21+
void write_time(unsigned char,unsigned char);
22+
23+
#endif

FD502/fd502.aps

-23.8 KB
Binary file not shown.

FD502/fd502.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -338,8 +338,8 @@ LRESULT CALLBACK Config(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
338338
case IDC_BROWSE:
339339
memset(&ofn,0,sizeof(ofn));
340340
ofn.lStructSize = sizeof (OPENFILENAME) ;
341-
ofn.hwndOwner = NULL;
342-
ofn.lpstrFilter = "Disk Rom Images\0*.rom\0\0"; // filter ROM images
341+
ofn.hwndOwner = GetTopWindow(NULL);
342+
ofn.lpstrFilter = "Disk Rom Images\0*.rom;*.bin\0\0"; // filter ROM images
343343
ofn.nFilterIndex = 1 ; // current filter index
344344
ofn.lpstrFile = TempRomFileName ; // contains full path and filename on return
345345
ofn.nMaxFile = MAX_PATH; // sizeof lpstrFile
@@ -381,11 +381,11 @@ void Load_Disk(unsigned char disk)
381381
CreateFlag=1;
382382
memset(&ofn,0,sizeof(ofn));
383383
ofn.lStructSize = sizeof (OPENFILENAME) ;
384-
ofn.hwndOwner = NULL;
384+
ofn.hwndOwner = GetTopWindow(NULL);
385385
ofn.Flags = OFN_HIDEREADONLY;
386386
ofn.hInstance = GetModuleHandle(0);
387-
ofn. lpstrDefExt ="dsk";
388-
ofn.lpstrFilter = "Disk Images\0*.DSK;*.OS9\0\0"; // filter string "Disks\0*.DSK\0\0";
387+
ofn.lpstrDefExt = "dsk";
388+
ofn.lpstrFilter = "Disk Images\0*.dsk;*.os9\0\0"; // filter string "Disks\0*.DSK\0\0";
389389
ofn.nFilterIndex = 0 ; // current filter index
390390
ofn.lpstrFile = TempFileName ; // contains full path and filename on return
391391
ofn.nMaxFile = MAX_PATH; // sizeof lpstrFile

FD502/fd502.dsp

Lines changed: 0 additions & 151 deletions
This file was deleted.

0 commit comments

Comments
 (0)