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
1044e259
Commit
1044e259
authored
Jun 02, 2010
by
Mustafa 'GnoStiC' TUFAN
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
02.06.2010
parent
56175a0b
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
836 additions
and
823 deletions
+836
-823
cfgfile.c
src/cfgfile.c
+1
-1
disk.c
src/disk.c
+1
-0
filesys.c
src/filesys.c
+2
-4
filesys_bootrom.c
src/filesys_bootrom.c
+724
-714
fsusage.c
src/fsusage.c
+105
-101
config.log
src/tools/config.log
+3
-3
No files found.
src/cfgfile.c
View file @
1044e259
...
@@ -2679,7 +2679,7 @@ int parse_cmdline_option (struct uae_prefs *p, char c, char *arg)
...
@@ -2679,7 +2679,7 @@ int parse_cmdline_option (struct uae_prefs *p, char c, char *arg)
case
'r'
:
strncpy
(
p
->
romfile
,
arg
,
255
);
p
->
romfile
[
255
]
=
0
;
break
;
case
'r'
:
strncpy
(
p
->
romfile
,
arg
,
255
);
p
->
romfile
[
255
]
=
0
;
break
;
case
'K'
:
strncpy
(
p
->
keyfile
,
arg
,
255
);
p
->
keyfile
[
255
]
=
0
;
break
;
case
'K'
:
strncpy
(
p
->
keyfile
,
arg
,
255
);
p
->
keyfile
[
255
]
=
0
;
break
;
case
'p'
:
strncpy
(
p
->
prtname
,
arg
,
255
);
p
->
prtname
[
255
]
=
0
;
break
;
case
'p'
:
strncpy
(
p
->
prtname
,
arg
,
255
);
p
->
prtname
[
255
]
=
0
;
break
;
/* case 'I': strncpy (p->sername, arg, 255); p->sername[255] = 0; currprefs.use_serial = 1; break; */
case
'I'
:
strncpy
(
p
->
sername
,
arg
,
255
);
p
->
sername
[
255
]
=
0
;
currprefs
.
use_serial
=
1
;
break
;
case
'm'
:
case
'M'
:
parse_filesys_spec
(
c
==
'M'
,
arg
);
break
;
case
'm'
:
case
'M'
:
parse_filesys_spec
(
c
==
'M'
,
arg
);
break
;
case
'W'
:
parse_hardfile_spec
(
arg
);
break
;
case
'W'
:
parse_hardfile_spec
(
arg
);
break
;
case
'S'
:
parse_sound_spec
(
p
,
arg
);
break
;
case
'S'
:
parse_sound_spec
(
p
,
arg
);
break
;
...
...
src/disk.c
View file @
1044e259
...
@@ -3086,6 +3086,7 @@ void DSKLEN (uae_u16 v, unsigned int hpos)
...
@@ -3086,6 +3086,7 @@ void DSKLEN (uae_u16 v, unsigned int hpos)
int
motormask
;
int
motormask
;
DISK_update
(
hpos
);
DISK_update
(
hpos
);
if
((
v
&
0x8000
)
&&
(
dsklen
&
0x8000
))
{
if
((
v
&
0x8000
)
&&
(
dsklen
&
0x8000
))
{
dskdmaen
=
2
;
dskdmaen
=
2
;
DISK_start
();
DISK_start
();
...
...
src/filesys.c
View file @
1044e259
...
@@ -2897,7 +2897,7 @@ static void
...
@@ -2897,7 +2897,7 @@ static void
put_long
(
info
+
120
,
entrytype
);
put_long
(
info
+
120
,
entrytype
);
TRACE
((
"name=
\"
%s
\"\n
"
,
xs
));
TRACE
((
"name=
\"
%s
\"\n
"
,
xs
));
x
2
=
x
=
ua_fs
(
xs
,
-
1
);
x
=
ua_fs
(
xs
,
-
1
);
n
=
strlen
(
x
);
n
=
strlen
(
x
);
if
(
n
>
106
)
if
(
n
>
106
)
n
=
106
;
n
=
106
;
...
@@ -2907,7 +2907,6 @@ static void
...
@@ -2907,7 +2907,6 @@ static void
put_byte
(
info
+
i
,
*
x
),
i
++
,
x
++
;
put_byte
(
info
+
i
,
*
x
),
i
++
,
x
++
;
while
(
i
<
108
)
while
(
i
<
108
)
put_byte
(
info
+
i
,
0
),
i
++
;
put_byte
(
info
+
i
,
0
),
i
++
;
xfree
(
x2
);
#if defined TARGET_AMIGAOS && defined WORDS_BIGENDIAN
#if defined TARGET_AMIGAOS && defined WORDS_BIGENDIAN
BPTR
lock
;
BPTR
lock
;
...
@@ -2943,7 +2942,7 @@ static void
...
@@ -2943,7 +2942,7 @@ static void
xs
=
aino
->
comment
;
xs
=
aino
->
comment
;
if
(
!
xs
)
if
(
!
xs
)
xs
=
""
;
xs
=
""
;
x
2
=
x
=
ua_fs
(
xs
,
-
1
);
x
=
ua_fs
(
xs
,
-
1
);
n
=
strlen
(
x
);
n
=
strlen
(
x
);
if
(
n
>
78
)
if
(
n
>
78
)
n
=
78
;
n
=
78
;
...
@@ -2952,7 +2951,6 @@ static void
...
@@ -2952,7 +2951,6 @@ static void
put_byte
(
info
+
i
,
*
x
),
i
++
,
x
++
;
put_byte
(
info
+
i
,
*
x
),
i
++
,
x
++
;
while
(
i
<
224
)
while
(
i
<
224
)
put_byte
(
info
+
i
,
0
),
i
++
;
put_byte
(
info
+
i
,
0
),
i
++
;
xfree
(
x2
);
}
}
PUT_PCK_RES1
(
packet
,
DOS_TRUE
);
PUT_PCK_RES1
(
packet
,
DOS_TRUE
);
}
}
...
...
src/filesys_bootrom.c
View file @
1044e259
This source diff could not be displayed because it is too large. You can
view the blob
instead.
src/fsusage.c
View file @
1044e259
...
@@ -198,7 +198,11 @@ int get_fs_usage (const char *path, const char *disk, struct fs_usage *fsp)
...
@@ -198,7 +198,11 @@ int get_fs_usage (const char *path, const char *disk, struct fs_usage *fsp)
Return the actual number of bytes read, zero for EOF, or negative
Return the actual number of bytes read, zero for EOF, or negative
for an error. */
for an error. */
static
int
safe_read
(
int
desc
,
char
*
ptr
,
int
len
)
static
int
safe_read
(
desc
,
ptr
,
len
)
int
desc
;
char
*
ptr
;
int
len
;
{
{
int
n_chars
;
int
n_chars
;
...
@@ -226,7 +230,7 @@ static int safe_read (int desc, char *ptr, int len)
...
@@ -226,7 +230,7 @@ static int safe_read (int desc, char *ptr, int len)
ERRNO is either a system error value, or zero if DISK is NULL
ERRNO is either a system error value, or zero if DISK is NULL
on a system that requires a non-NULL value. */
on a system that requires a non-NULL value. */
int
int
get_fs_usage
(
path
,
disk
,
fsp
)
get_fs_usage
(
path
,
disk
,
fsp
)
const
char
*
path
;
const
char
*
path
;
const
char
*
disk
;
const
char
*
disk
;
struct
fs_usage
*
fsp
;
struct
fs_usage
*
fsp
;
...
@@ -380,7 +384,7 @@ get_fs_usage (path, disk, fsp)
...
@@ -380,7 +384,7 @@ get_fs_usage (path, disk, fsp)
/* AIX PS/2 does not supply statfs. */
/* AIX PS/2 does not supply statfs. */
int
int
statfs
(
path
,
fsb
)
statfs
(
path
,
fsb
)
char
*
path
;
char
*
path
;
struct
statfs
*
fsb
;
struct
statfs
*
fsb
;
{
{
...
...
src/tools/config.log
View file @
1044e259
...
@@ -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
vIP0rc
.o: In function `main':
/tmp/cc
QVX6ss
.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
rvPcpr
.o: In function `main':
/tmp/cc
ML3BqH
.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
c5rzSv
.o: In function `main':
/tmp/cc
LZtbQE
.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