Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
PUAE
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PocketInsanity
PUAE
Commits
0ca2fccc
Commit
0ca2fccc
authored
Aug 23, 2010
by
Mustafa 'GnoStiC' TUFAN
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
syncing 2.3.0
parent
cadc4ee6
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
28 additions
and
28 deletions
+28
-28
configure.in
configure.in
+1
-1
disk.c
src/disk.c
+15
-15
filesys.c
src/filesys.c
+4
-4
Info.plist
src/od-macosx/Info.plist
+2
-2
sysconfig.h
src/sysconfig.h
+3
-3
config.log
src/tools/config.log
+3
-3
No files found.
configure.in
View file @
0ca2fccc
...
@@ -6,7 +6,7 @@ dnl Updated and generally mauled 2008 Mustafa Tufan
...
@@ -6,7 +6,7 @@ dnl Updated and generally mauled 2008 Mustafa Tufan
dnl
dnl
AC_PREREQ(2.55)
AC_PREREQ(2.55)
AC_INIT(PUAE, 2.
2
.0, ,puae)
AC_INIT(PUAE, 2.
3
.0, ,puae)
AC_CONFIG_SRCDIR([bootstrap.sh])
AC_CONFIG_SRCDIR([bootstrap.sh])
AM_CONFIG_HEADER([src/sysconfig.h])
AM_CONFIG_HEADER([src/sysconfig.h])
AC_CANONICAL_TARGET
AC_CANONICAL_TARGET
...
...
src/disk.c
View file @
0ca2fccc
...
@@ -502,7 +502,7 @@ static int get_floppy_speed2 (drive *drv)
...
@@ -502,7 +502,7 @@ static int get_floppy_speed2 (drive *drv)
}
}
#ifdef DEBUG_DRIVE_ID
#ifdef DEBUG_DRIVE_ID
static
const
char
*
drive_id_name
(
drive
*
drv
)
static
const
TCHAR
*
drive_id_name
(
drive
*
drv
)
{
{
switch
(
drv
->
drive_id
)
switch
(
drv
->
drive_id
)
{
{
...
@@ -2145,14 +2145,14 @@ void disk_creatediskfile (TCHAR *name, int type, drive_type adftype, TCHAR *disk
...
@@ -2145,14 +2145,14 @@ void disk_creatediskfile (TCHAR *name, int type, drive_type adftype, TCHAR *disk
}
}
int
disk_getwriteprotect
(
const
char
*
name
)
int
disk_getwriteprotect
(
const
TCHAR
*
name
)
{
{
int
needwritefile
;
int
needwritefile
;
drive_type
drvtype
;
drive_type
drvtype
;
return
diskfile_iswriteprotect
(
name
,
&
needwritefile
,
&
drvtype
);
return
diskfile_iswriteprotect
(
name
,
&
needwritefile
,
&
drvtype
);
}
}
static
void
diskfile_readonly
(
const
char
*
name
,
int
readonly
)
static
void
diskfile_readonly
(
const
TCHAR
*
name
,
bool
readonly
)
{
{
struct
stat
st
;
struct
stat
st
;
int
mode
,
oldmode
;
int
mode
,
oldmode
;
...
@@ -3146,14 +3146,14 @@ void DSKLEN (uae_u16 v, unsigned int hpos)
...
@@ -3146,14 +3146,14 @@ void DSKLEN (uae_u16 v, unsigned int hpos)
break
;
break
;
}
}
if
(
dr
==
4
)
{
if
(
dr
==
4
)
{
write_log
(
"disk %s DMA started, drvmask=%x motormask=%x
\n
"
,
write_log
(
"disk %s DMA started, drvmask=%x motormask=%x
PC=%08x
\n
"
,
dskdmaen
==
3
?
"write"
:
"read"
,
selected
^
15
,
motormask
);
dskdmaen
==
3
?
"write"
:
"read"
,
selected
^
15
,
motormask
,
M68K_GETPC
);
noselected
=
1
;
noselected
=
1
;
}
else
{
}
else
{
if
(
disk_debug_logging
>
0
)
{
if
(
disk_debug_logging
>
0
)
{
write_log
(
"disk %s DMA started, drvmask=%x track %d mfmpos %d dmaen=%d
\n
"
,
write_log
(
"disk %s DMA started, drvmask=%x track %d mfmpos %d dmaen=%d
PC=%08X
\n
"
,
dskdmaen
==
3
?
"write"
:
"read"
,
selected
^
15
,
dskdmaen
==
3
?
"write"
:
"read"
,
selected
^
15
,
floppy
[
dr
].
cyl
*
2
+
side
,
floppy
[
dr
].
mfmpos
,
dma_enable
);
floppy
[
dr
].
cyl
*
2
+
side
,
floppy
[
dr
].
mfmpos
,
dma_enable
,
M68K_GETPC
);
disk_dma_debugmsg
();
disk_dma_debugmsg
();
}
}
}
}
...
@@ -3494,7 +3494,7 @@ uae_u8 *restore_disk (int num,uae_u8 *src)
...
@@ -3494,7 +3494,7 @@ uae_u8 *restore_disk (int num,uae_u8 *src)
{
{
drive
*
drv
;
drive
*
drv
;
int
state
,
dfxtype
;
int
state
,
dfxtype
;
char
old
[
MAX_DPATH
];
TCHAR
old
[
MAX_DPATH
];
int
newis
;
int
newis
;
drv
=
&
floppy
[
num
];
drv
=
&
floppy
[
num
];
...
@@ -3645,14 +3645,14 @@ uae_u8 *save_floppy(int *len, uae_u8 *dstptr)
...
@@ -3645,14 +3645,14 @@ uae_u8 *save_floppy(int *len, uae_u8 *dstptr)
#endif
/* SAVESTATE */
#endif
/* SAVESTATE */
#define MAX_DISKENTRIES 4
#define MAX_DISKENTRIES 4
int
disk_prevnext_name
(
char
*
imgp
,
int
dir
)
int
disk_prevnext_name
(
TCHAR
*
imgp
,
int
dir
)
{
{
char
img
[
MAX_DPATH
],
*
ext
,
*
p
,
*
p2
,
*
ps
,
*
dst
[
MAX_DISKENTRIES
];
TCHAR
img
[
MAX_DPATH
],
*
ext
,
*
p
,
*
p2
,
*
ps
,
*
dst
[
MAX_DISKENTRIES
];
int
num
=
-
1
;
int
num
=
-
1
;
int
cnt
,
i
;
int
cnt
,
i
;
char
imgl
[
MAX_DPATH
];
TCHAR
imgl
[
MAX_DPATH
];
int
ret
,
gotone
,
wrapped
;
int
ret
,
gotone
,
wrapped
;
char
*
old
;
TCHAR
*
old
;
old
=
my_strdup
(
imgp
);
old
=
my_strdup
(
imgp
);
...
@@ -3708,7 +3708,7 @@ retry:
...
@@ -3708,7 +3708,7 @@ retry:
ext
=
_tcsrchr
(
ps
,
'.'
);
ext
=
_tcsrchr
(
ps
,
'.'
);
if
(
!
ext
||
ext
-
ps
<
4
)
if
(
!
ext
||
ext
-
ps
<
4
)
break
;
break
;
char
*
ext2
=
ext
-
imgl
+
img
;
TCHAR
*
ext2
=
ext
-
imgl
+
img
;
// name_<non numeric character>x.ext
// name_<non numeric character>x.ext
if
(
ext
[
-
3
]
==
'_'
&&
!
_istdigit
(
ext
[
-
2
])
&&
_istdigit
(
ext
[
-
1
]))
{
if
(
ext
[
-
3
]
==
'_'
&&
!
_istdigit
(
ext
[
-
2
])
&&
_istdigit
(
ext
[
-
1
]))
{
num
=
_tstoi
(
ext
-
1
);
num
=
_tstoi
(
ext
-
1
);
...
@@ -3755,7 +3755,7 @@ retry:
...
@@ -3755,7 +3755,7 @@ retry:
goto
end
;
goto
end
;
}
}
if
(
gotone
)
{
// was (disk x but no match, perhaps there are extra tags..
if
(
gotone
)
{
// was (disk x but no match, perhaps there are extra tags..
char
*
old2
=
my_strdup
(
img
);
TCHAR
*
old2
=
my_strdup
(
img
);
for
(;;)
{
for
(;;)
{
ext
=
_tcsrchr
(
img
,
'.'
);
ext
=
_tcsrchr
(
img
,
'.'
);
if
(
!
ext
)
if
(
!
ext
)
...
@@ -3764,7 +3764,7 @@ retry:
...
@@ -3764,7 +3764,7 @@ retry:
break
;
break
;
if
(
ext
[
-
1
]
!=
']'
)
if
(
ext
[
-
1
]
!=
']'
)
break
;
break
;
char
*
t
=
_tcsrchr
(
img
,
'['
);
TCHAR
*
t
=
_tcsrchr
(
img
,
'['
);
if
(
!
t
)
if
(
!
t
)
break
;
break
;
t
[
0
]
=
0
;
t
[
0
]
=
0
;
...
...
src/filesys.c
View file @
0ca2fccc
...
@@ -1503,7 +1503,7 @@ static void recycle_aino (Unit *unit, a_inode *new_aino)
...
@@ -1503,7 +1503,7 @@ static void recycle_aino (Unit *unit, a_inode *new_aino)
#if 0
#if 0
{
{
TCHAR buffer[40];
TCHAR buffer[40];
s
printf (buffer, "%d ainos reaped.\n", i);
_st
printf (buffer, "%d ainos reaped.\n", i);
TRACE ((buffer));
TRACE ((buffer));
}
}
#endif
#endif
...
@@ -2270,7 +2270,7 @@ static void
...
@@ -2270,7 +2270,7 @@ static void
int
ret
;
int
ret
;
/* if (unit->volflags & MYVOLUMEINFO_ARCHIVE)
/* if (unit->volflags & MYVOLUMEINFO_ARCHIVE)
ret =
0; //
zfile_fs_usage_archive (unit->ui.rootdir, 0, &fsu);
ret = zfile_fs_usage_archive (unit->ui.rootdir, 0, &fsu);
else*/
else*/
ret
=
get_fs_usage
(
unit
->
ui
.
rootdir
,
0
,
&
fsu
);
ret
=
get_fs_usage
(
unit
->
ui
.
rootdir
,
0
,
&
fsu
);
if
(
ret
!=
0
)
{
if
(
ret
!=
0
)
{
...
@@ -2542,7 +2542,7 @@ static void
...
@@ -2542,7 +2542,7 @@ static void
for
(
hash
=
0
;
hash
<
NOTIFY_HASH_SIZE
;
hash
++
)
{
for
(
hash
=
0
;
hash
<
NOTIFY_HASH_SIZE
;
hash
++
)
{
for
(
n
=
unit
->
notifyhash
[
hash
];
n
;
n
=
n
->
next
)
{
for
(
n
=
unit
->
notifyhash
[
hash
];
n
;
n
=
n
->
next
)
{
if
(
n
->
notifyrequest
==
nr
)
{
if
(
n
->
notifyrequest
==
nr
)
{
//write_log ("NotifyRequest %08
.8
X freed\n", n->notifyrequest);
//write_log ("NotifyRequest %08X freed\n", n->notifyrequest);
xfree
(
n
->
fullname
);
xfree
(
n
->
fullname
);
xfree
(
n
->
partname
);
xfree
(
n
->
partname
);
free_notify
(
unit
,
hash
,
n
);
free_notify
(
unit
,
hash
,
n
);
...
@@ -2551,7 +2551,7 @@ static void
...
@@ -2551,7 +2551,7 @@ static void
}
}
}
}
}
}
//write_log ("Tried to free non-existing NotifyRequest %08
.8
X\n", nr);
//write_log ("Tried to free non-existing NotifyRequest %08X\n", nr);
PUT_PCK_RES1
(
packet
,
DOS_TRUE
);
PUT_PCK_RES1
(
packet
,
DOS_TRUE
);
}
}
...
...
src/od-macosx/Info.plist
View file @
0ca2fccc
...
@@ -28,8 +28,8 @@
...
@@ -28,8 +28,8 @@
<
k
e
y
>
CFBundleName
<
/k
e
y
>
<
k
e
y
>
CFBundleName
<
/k
e
y
>
<
string
>
PUAE
<
/string
>
<
string
>
PUAE
<
/string
>
<
k
e
y
>
CFBundleGetInfoString
<
/k
e
y
>
<
k
e
y
>
CFBundleGetInfoString
<
/k
e
y
>
<
string
>
2.
2
.0
<
/string
>
<
string
>
2.
3
.0
<
/string
>
<
k
e
y
>
CFBundleVersion
<
/k
e
y
>
<
k
e
y
>
CFBundleVersion
<
/k
e
y
>
<
string
>
2.
2
.0
<
/string
>
<
string
>
2.
3
.0
<
/string
>
<
/
d
i
c
t
>
<
/
d
i
c
t
>
<
/plist
>
<
/plist
>
src/sysconfig.h
View file @
0ca2fccc
...
@@ -293,7 +293,7 @@
...
@@ -293,7 +293,7 @@
#define PACKAGE_NAME "PUAE"
#define PACKAGE_NAME "PUAE"
/* Define to the full name and version of this package. */
/* Define to the full name and version of this package. */
#define PACKAGE_STRING "PUAE 2.
2
.0"
#define PACKAGE_STRING "PUAE 2.
3
.0"
/* Define to the one symbol short name of this package. */
/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME "puae"
#define PACKAGE_TARNAME "puae"
...
@@ -302,7 +302,7 @@
...
@@ -302,7 +302,7 @@
#define PACKAGE_URL ""
#define PACKAGE_URL ""
/* Define to the version of this package. */
/* Define to the version of this package. */
#define PACKAGE_VERSION "2.
2
.0"
#define PACKAGE_VERSION "2.
3
.0"
/* Define to the necessary symbol if this constant uses a non-standard name on
/* Define to the necessary symbol if this constant uses a non-standard name on
your system. */
your system. */
...
@@ -395,7 +395,7 @@
...
@@ -395,7 +395,7 @@
/* Version number of package */
/* Version number of package */
#define VERSION "2.
2
.0"
#define VERSION "2.
3
.0"
/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
significant byte first (like Motorola and SPARC, unlike Intel). */
significant byte first (like Motorola and SPARC, unlike Intel). */
...
...
src/tools/config.log
View file @
0ca2fccc
...
@@ -445,7 +445,7 @@ configure:4344: $? = 0
...
@@ -445,7 +445,7 @@ configure:4344: $? = 0
configure:4344: result: yes
configure:4344: result: yes
configure:4350: checking for _doprnt
configure:4350: checking for _doprnt
configure:4350: gcc -o conftest -g -O2 -Wall -W -Wno-unused conftest.c >&5
configure:4350: gcc -o conftest -g -O2 -Wall -W -Wno-unused conftest.c >&5
/tmp/cc
fiu6rL
.o: In function `main':
/tmp/cc
TFdHnN
.o: In function `main':
/home/gnostic/puaex/src/tools/conftest.c:67: undefined reference to `_doprnt'
/home/gnostic/puaex/src/tools/conftest.c:67: undefined reference to `_doprnt'
collect2: ld returned 1 exit status
collect2: ld returned 1 exit status
configure:4350: $? = 1
configure:4350: $? = 1
...
@@ -533,7 +533,7 @@ configure:4364: $? = 0
...
@@ -533,7 +533,7 @@ configure:4364: $? = 0
configure:4364: result: yes
configure:4364: result: yes
configure:4364: checking for strcmpi
configure:4364: checking for strcmpi
configure:4364: gcc -o conftest -g -O2 -Wall -W -Wno-unused conftest.c >&5
configure:4364: gcc -o conftest -g -O2 -Wall -W -Wno-unused conftest.c >&5
/tmp/cc
bxgm14
.o: In function `main':
/tmp/cc
2hgaV2
.o: In function `main':
/home/gnostic/puaex/src/tools/conftest.c:69: undefined reference to `strcmpi'
/home/gnostic/puaex/src/tools/conftest.c:69: undefined reference to `strcmpi'
collect2: ld returned 1 exit status
collect2: ld returned 1 exit status
configure:4364: $? = 1
configure:4364: $? = 1
...
@@ -613,7 +613,7 @@ configure: failed program was:
...
@@ -613,7 +613,7 @@ configure: failed program was:
configure:4364: result: no
configure:4364: result: no
configure:4364: checking for stricmp
configure:4364: checking for stricmp
configure:4364: gcc -o conftest -g -O2 -Wall -W -Wno-unused conftest.c >&5
configure:4364: gcc -o conftest -g -O2 -Wall -W -Wno-unused conftest.c >&5
/tmp/cc
9wD849
.o: In function `main':
/tmp/cc
pW3ZCa
.o: In function `main':
/home/gnostic/puaex/src/tools/conftest.c:69: undefined reference to `stricmp'
/home/gnostic/puaex/src/tools/conftest.c:69: undefined reference to `stricmp'
collect2: ld returned 1 exit status
collect2: ld returned 1 exit status
configure:4364: $? = 1
configure:4364: $? = 1
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment