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
0f837aca
Commit
0f837aca
authored
Jun 02, 2010
by
Mustafa 'GnoStiC' TUFAN
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fakeFastMem
parent
395371b8
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
182 additions
and
52 deletions
+182
-52
expansion.c
src/expansion.c
+168
-38
fdi2raw.c
src/fdi2raw.c
+9
-9
memory.h
src/include/memory.h
+1
-1
memory.c
src/memory.c
+1
-1
config.log
src/tools/config.log
+3
-3
No files found.
src/expansion.c
View file @
0f837aca
This diff is collapsed.
Click to expand it.
src/fdi2raw.c
View file @
0f837aca
...
...
@@ -253,6 +253,7 @@ STATIC_INLINE uae_u32 sign_extend8 (uae_u32 v)
static
void
fdi_decode
(
const
uae_u8
*
stream
,
unsigned
int
size
,
uae_u8
*
out
)
{
unsigned
int
i
;
uae_u8
sign_extend
,
sixteen_bit
,
sub_stream_shift
;
NODE
root
;
NODE
*
current_node
;
...
...
@@ -260,7 +261,6 @@ static void fdi_decode (const uae_u8 *stream, unsigned int size, uae_u8 *out)
memset
(
out
,
0
,
size
*
4
);
sub_stream_shift
=
1
;
while
(
sub_stream_shift
)
{
unsigned
int
i
;
//sub-stream header decode
sign_extend
=
*
stream
++
;
...
...
@@ -967,7 +967,7 @@ static void ibm_data (FDI *fdi, const uae_u8 *data, uae_u8 *crc, unsigned int le
{
unsigned
int
i
;
uae_u8
crcbuf
[
2
];
uae_u16
crcv
=
0
;
uae_u16
crcv
;
word_add
(
fdi
,
0x4489
);
word_add
(
fdi
,
0x4489
);
...
...
@@ -1179,14 +1179,14 @@ static void track_amiga (struct fdi *fdi, unsigned int first_sector, unsigned in
}
static
void
track_atari_st
(
struct
fdi
*
fdi
,
unsigned
int
max_sector
)
{
unsigned
int
i
,
gap3
=
0
;
unsigned
int
i
,
gap3
;
uae_u8
*
p
=
fdi
->
track_src
;
switch
(
max_sector
)
{
case
9
:
case
9
:
gap3
=
40
;
break
;
case
10
:
case
10
:
gap3
=
24
;
break
;
}
...
...
@@ -1207,13 +1207,13 @@ static void track_pc (struct fdi *fdi, unsigned int max_sector)
uae_u8
*
p
=
fdi
->
track_src
;
switch
(
max_sector
)
{
case
8
:
case
8
:
gap3
=
116
;
break
;
case
9
:
case
9
:
gap3
=
54
;
break
;
default:
default:
gap3
=
100
;
/* fixme */
break
;
}
...
...
@@ -1823,7 +1823,7 @@ static int decode_lowlevel_track (FDI *fdi, unsigned int track, struct fdi_cache
uae_u32
maxidx
,
totalavg
,
weakbits
;
unsigned
int
i
,
j
,
len
,
pulses
,
indexoffset
;
unsigned
int
avg_free
,
min_free
=
0
,
max_free
=
0
,
idx_free
;
unsigned
int
idx_off1
=
0
,
idx_off2
=
0
,
idx_off3
=
0
;
unsigned
int
idx_off1
,
idx_off2
,
idx_off3
;
d
=
fdi
->
track_dst
;
p1
=
fdi
->
track_src
;
...
...
src/include/memory.h
View file @
0f837aca
...
...
@@ -63,7 +63,7 @@ extern void wait_cpu_cycle_write_ce020 (uaecptr addr, int mode, uae_u32 v);
#define bogomem_start 0x00C00000
#define cardmem_start 0x00E00000
#define kickmem_start 0x00F80000
extern
uaecptr
z3fastmem_start
,
z3fastmem2_start
;
extern
uaecptr
z3fastmem_start
,
z3fastmem2_start
,
z3chipmem_start
;
extern
uaecptr
p96ram_start
;
extern
uaecptr
fastmem_start
;
extern
uaecptr
a3000lmem_start
,
a3000hmem_start
;
...
...
src/memory.c
View file @
0f837aca
...
...
@@ -80,7 +80,7 @@ uae_u32 allocated_chipmem;
uae_u32
allocated_fastmem
;
uae_u32
allocated_bogomem
;
uae_u32
allocated_gfxmem
;
uae_u32
allocated_z3fastmem
,
allocated_z3fastmem2
;
uae_u32
allocated_z3fastmem
,
allocated_z3fastmem2
,
allocated_z3chipmem
;
uae_u32
allocated_a3000lmem
;
uae_u32
allocated_a3000hmem
;
uae_u32
allocated_cardmem
;
...
...
src/tools/config.log
View file @
0f837aca
...
...
@@ -445,7 +445,7 @@ configure:4344: $? = 0
configure:4344: result: yes
configure:4350: checking for _doprnt
configure:4350: gcc -o conftest -g -O2 -Wall -W -Wno-unused conftest.c >&5
/tmp/cc
QVX6ss
.o: In function `main':
/tmp/cc
kxlJDb
.o: In function `main':
/home/gnostic/puaex/src/tools/conftest.c:67: undefined reference to `_doprnt'
collect2: ld returned 1 exit status
configure:4350: $? = 1
...
...
@@ -533,7 +533,7 @@ configure:4364: $? = 0
configure:4364: result: yes
configure:4364: checking for strcmpi
configure:4364: gcc -o conftest -g -O2 -Wall -W -Wno-unused conftest.c >&5
/tmp/cc
ML3BqH
.o: In function `main':
/tmp/cc
svYvOq
.o: In function `main':
/home/gnostic/puaex/src/tools/conftest.c:69: undefined reference to `strcmpi'
collect2: ld returned 1 exit status
configure:4364: $? = 1
...
...
@@ -613,7 +613,7 @@ configure: failed program was:
configure:4364: result: no
configure:4364: checking for stricmp
configure:4364: gcc -o conftest -g -O2 -Wall -W -Wno-unused conftest.c >&5
/tmp/cc
LZtbQE
.o: In function `main':
/tmp/cc
AfsPHv
.o: In function `main':
/home/gnostic/puaex/src/tools/conftest.c:69: undefined reference to `stricmp'
collect2: ld returned 1 exit status
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