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
65b99a5c
Commit
65b99a5c
authored
Aug 19, 2011
by
mtufan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
puae 2.3.3
parent
8dee2a58
Changes
15
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
173 additions
and
155 deletions
+173
-155
build_macos_qt.sh
build_macos_qt.sh
+3
-1
audio.c
src/audio.c
+1
-0
blitter.c
src/blitter.c
+1
-0
blkdev.c
src/blkdev.c
+6
-3
drawing.c
src/drawing.c
+1
-1
filesys.asm
src/filesys.asm
+12
-40
cocoa_gfx.m
src/gfx-cocoa/cocoa_gfx.m
+1
-1
sdlgfx.c
src/gfx-sdl/sdlgfx.c
+1
-1
svga.c
src/gfx-svga/svga.c
+1
-1
xwin.c
src/gfx-x11/xwin.c
+1
-1
picasso96.h
src/include/picasso96.h
+1
-1
main.c
src/main.c
+0
-1
picasso96.c
src/picasso96.c
+81
-43
rommgr.c
src/rommgr.c
+57
-58
zfile.c
src/zfile.c
+6
-3
No files found.
build_macos_qt.sh
View file @
65b99a5c
...
...
@@ -9,9 +9,11 @@ cd32=" --enable-cd32 "
a600
=
" --enable-gayle "
scsi
=
" --enable-scsi-device --enable-ncr --enable-a2091 "
other
=
" --with-caps --enable-amax "
debug
=
"--enable-profiling"
debug
=
""
#
#
./bootstrap.sh
./configure
$base
$cd32
$a600
$scsi
$other
CFLAGS
=
"-m32"
LDFLAGS
=
"-m32"
CPPFLAGS
=
"-m32"
CXXFLAGS
=
"-m32"
./configure
$base
$cd32
$a600
$scsi
$other
$debug
CFLAGS
=
"-m32"
LDFLAGS
=
"-m32"
CPPFLAGS
=
"-m32"
CXXFLAGS
=
"-m32"
make clean
make
src/audio.c
View file @
65b99a5c
...
...
@@ -371,6 +371,7 @@ static int filter (int input, struct filter_state *fs)
case
FILTER_NONE
:
return
input
;
case
FILTER_MODEL_A500
:
fs
->
rc1
=
a500e_filter1_a0
*
input
+
(
1
-
a500e_filter1_a0
)
*
fs
->
rc1
+
DENORMAL_OFFSET
;
fs
->
rc2
=
a500e_filter2_a0
*
fs
->
rc1
+
(
1
-
a500e_filter2_a0
)
*
fs
->
rc2
;
...
...
src/blitter.c
View file @
65b99a5c
...
...
@@ -359,6 +359,7 @@ STATIC_INLINE void chipmem_agnus_wput2 (uaecptr addr, uae_u32 w)
last_custom_value1
=
w
;
#ifndef BLITTER_DEBUG_NO_D
chipmem_wput_indirect
(
addr
,
w
);
debug_wputpeekdma
(
addr
,
w
);
#endif
}
...
...
src/blkdev.c
View file @
65b99a5c
...
...
@@ -40,7 +40,8 @@ static uae_u8 play_qcode[MAX_TOTAL_SCSI_DEVICES][SUBQ_SIZE];
static
TCHAR
newimagefiles
[
MAX_TOTAL_SCSI_DEVICES
][
256
];
static
int
imagechangetime
[
MAX_TOTAL_SCSI_DEVICES
];
static
bool
cdimagefileinuse
[
MAX_TOTAL_SCSI_DEVICES
],
wasopen
[
MAX_TOTAL_SCSI_DEVICES
];
static
bool
cdimagefileinuse
[
MAX_TOTAL_SCSI_DEVICES
];
static
bool
wasopen
[
MAX_TOTAL_SCSI_DEVICES
];
/* convert minutes, seconds and frames -> logical sector number */
int
msf2lsn
(
int
msf
)
...
...
@@ -552,7 +553,7 @@ static void check_changes (int unitnum)
imagechangetime
[
unitnum
]
=
8
*
50
;
}
}
write_log
(
"CD: eject (%s)
\n
"
,
pollmode
?
"slow"
:
"fast"
);
write_log
(
"CD: eject (%s)
open=%d
\n
"
,
pollmode
?
L"slow"
:
L"fast"
,
wasopen
[
unitnum
]
?
1
:
0
);
#ifdef RETROPLATFORM
rp_cd_image_change
(
unitnum
,
NULL
);
#endif
...
...
@@ -570,12 +571,14 @@ static void check_changes (int unitnum)
_tcscpy
(
changed_prefs
.
cdslots
[
unitnum
].
name
,
newimagefiles
[
unitnum
]);
currprefs
.
cdslots
[
unitnum
].
inuse
=
changed_prefs
.
cdslots
[
unitnum
].
inuse
=
cdimagefileinuse
[
unitnum
];
newimagefiles
[
unitnum
][
0
]
=
0
;
write_log
(
"CD: delayed insert '%s'
\n
"
,
currprefs
.
cdslots
[
unitnum
].
name
[
0
]
?
currprefs
.
cdslots
[
unitnum
].
name
:
"<EMPTY>"
);
write_log
(
"CD: delayed insert '%s'
(open=%d)
\n
"
,
currprefs
.
cdslots
[
unitnum
].
name
[
0
]
?
currprefs
.
cdslots
[
unitnum
].
name
:
L"<EMPTY>"
,
wasopen
[
unitnum
]
?
1
:
0
);
device_func_init
(
0
);
if
(
wasopen
[
unitnum
])
{
if
(
!
device_func
[
unitnum
]
->
opendev
(
unitnum
,
currprefs
.
cdslots
[
unitnum
].
name
,
0
))
{
write_log
(
"-> device open failed
\n
"
);
wasopen
[
unitnum
]
=
0
;
}
else
{
write_log
(
"-> device reopened
\n
"
);
}
}
if
(
currprefs
.
scsi
&&
wasopen
[
unitnum
])
{
...
...
src/drawing.c
View file @
65b99a5c
...
...
@@ -7,7 +7,7 @@
*
* Copyright 1995-2000 Bernd Schmidt
* Copyright 1995 Alessandro Bissacco
* Copyright 2000-20
08
Toni Wilen
* Copyright 2000-20
11
Toni Wilen
*/
/* There are a couple of concepts of "coordinates" in this file.
...
...
src/filesys.asm
100755 → 100644
View file @
65b99a5c
...
...
@@ -70,14 +70,6 @@ bootcode:
residenthack
movem
.
l
d0
-
d2
/
a0
-
a2
/
a6
,
-
(
sp
)
move
.
w
#$
FF38
,
d0
moveq
#
17
,
d1
bsr
.
w
getrtbase
jsr
(
a0
)
tst
.
l
d0
beq
.
s
.
rsh
move
.
l
4
.
w
,
a6
cmp
.
w
#
37
,
20
(
a6
)
bcs
.
s
.
rsh
...
...
@@ -232,6 +224,7 @@ FSIN_none:
;FSIN_scandone:
; jsr -$007e(a6) ; Enable
filesys_dev_storeinfo
moveq
#
3
,
d4
; MEMF_CHIP | MEMF_PUBLIC
cmp
.
w
#
36
,
20
(
a6
)
...
...
@@ -240,11 +233,6 @@ filesys_dev_storeinfo
FSIN_ksold
; add >2MB-6MB chip RAM to memory list
lea
$
210000
,
a1
; do not add if RAM detected already
jsr
-
$
216
(
a6
)
; TypeOfMem
tst
.
l
d0
bne
.
s
FSIN_chip_done
move
.
w
#$
FF80
,
d0
bsr
.
w
getrtbase
jsr
(
a0
)
...
...
@@ -359,8 +347,8 @@ EXTS_loop:
jsr
-
366
(
a6
)
; PutMsg
bra
.
b
EXTS_loop
EXTS_signal_reply
:
cmp
.
w
#
2
,
d0
bgt
.
b
EXTS_reply
cmp
.
w
#
2
,
d0
bgt
.
b
EXTS_reply
move
.
l
d1
,
d0
jsr
-
$
144
(
a6
)
; Signal
bra
.
b
EXTS_loop
...
...
@@ -1238,15 +1226,15 @@ FSML_loop:
clr
.
b
172
(
a3
)
.
nodc
move
.
l
a4
,
d0
beq
.
s
nonnotif
beq
.
s
FSML_loop
; notify reply?
cmp
.
w
#
38
,
18
(
a4
)
bne
.
s
non
n
otif
bne
.
s
nonotif
cmp
.
l
#
NOTIFY_CLASS
,
20
(
a4
)
bne
.
s
non
n
otif
bne
.
s
nonotif
cmp
.
w
#
NOTIFY_CODE
,
24
(
a4
)
bne
.
s
non
n
otif
bne
.
s
nonotif
move
.
l
26
(
a4
),
a0
; NotifyRequest
move
.
l
12
(
a0
),
d0
; flags
and
.
l
#
NRF_WAIT_REPLY
|
NRF_MAGIC
,
d0
...
...
@@ -1264,20 +1252,15 @@ nonoti
jsr
FreeMem
(
a6
)
bra
.
w
FSML_loop
nonnotif
moveq
#
-
2
,
d2
; lock timeout "done" value
move
.
l
a4
,
d0
beq
.
s
FSML_check_queue_other
nonotif
move
.
l
10
(
a4
),
d3
; ln_Name
bne
.
b
FSML_FromDOS
moveq
#
-
1
,
d2
; normal "done" value
; It's a dummy packet indicating that some queued command finished.
move
.
w
#$
FF50
,
d0
; exter_int_helper
bsr
.
w
getrtbase
moveq
.
l
#
1
,
d0
jsr
(
a0
)
FSML_check_queue_other
:
; Go through the queue and reply all those that finished.
lea
.
l
4
(
a3
),
a2
move
.
l
(
a2
),
a0
...
...
@@ -1289,8 +1272,7 @@ FSML_check_old:
; This field may be accessed concurrently by several UAE threads.
; This _should_ be harmless on all reasonable machines.
move
.
l
4
(
a0
),
d0
cmp
.
l
d0
,
d2
bne
.
b
FSML_check_next
bpl
.
b
FSML_check_next
movem
.
l
a0
/
a1
,
-
(
a7
)
move
.
l
10
(
a0
),
a4
bsr
.
b
ReplyOne
...
...
@@ -2079,14 +2061,6 @@ CLIP_END = (CLIP_POINTER_PREFS+32)
clipboard_init
:
movem
.
l
a5
/
a6
,
-
(
sp
)
move
.
w
#$
FF38
,
d0
moveq
#
17
,
d1
bsr
.
w
getrtbase
jsr
(
a0
)
btst
#
0
,
d0
beq
.
s
.
noclip
move
.
l
4
.
w
,
a6
move
.
l
#
CLIP_END
,
d0
move
.
l
#$
10001
,
d1
...
...
@@ -2108,7 +2082,7 @@ clipboard_init:
moveq
#
-
10
,
d0
move
.
l
#
10000
,
d1
bsr
.
w
createproc
.
noclip
moveq
#
0
,
d0
movem
.
l
(
sp
)
+
,
a5
/
a6
rts
...
...
@@ -2439,15 +2413,13 @@ cliphook:
consolehook
:
move
.
l
4
.
w
,
a6
moveq
#
-
1
,
d2
move
.
w
#$
FF38
,
d0
moveq
#
1
7
,
d1
moveq
#
1
00
,
d1
bsr
.
w
getrtbase
jsr
(
a0
)
btst
#
1
,
d0
tst
.
l
d0
beq
.
s
.
ch2
moveq
#
0
,
d2
jsr
-
$
0084
(
a6
)
;Forbid
lea
350
(
a6
),
a0
;DeviceList
...
...
src/gfx-cocoa/cocoa_gfx.m
View file @
65b99a5c
...
...
@@ -138,7 +138,7 @@ int input_get_default_mouse (struct uae_input_device *uid, int i, int port, int
{
}
uae_u8
*
gfx_lock_picasso
(
void
)
uae_u8
*
gfx_lock_picasso
(
int
fullupdate
)
{
}
...
...
src/gfx-sdl/sdlgfx.c
View file @
65b99a5c
...
...
@@ -1843,7 +1843,7 @@ void gfx_set_picasso_state (int on)
DX_SetPalette
(
0
,
256
);
}
uae_u8
*
gfx_lock_picasso
(
void
)
uae_u8
*
gfx_lock_picasso
(
int
fullupdate
)
{
DEBUG_LOG
(
"Function: gfx_lock_picasso
\n
"
);
...
...
src/gfx-svga/svga.c
View file @
65b99a5c
...
...
@@ -891,7 +891,7 @@ void gfx_set_picasso_state (int on)
set_window_for_amiga
();
}
uae_u8
*
gfx_lock_picasso
(
void
)
uae_u8
*
gfx_lock_picasso
(
int
fullupdate
)
{
return
linear_mem
;
}
...
...
src/gfx-x11/xwin.c
View file @
65b99a5c
...
...
@@ -1485,7 +1485,7 @@ void gfx_set_picasso_state (int on)
DX_SetPalette_real
(
0
,
256
);
}
uae_u8
*
gfx_lock_picasso
(
void
)
uae_u8
*
gfx_lock_picasso
(
int
fullupdate
)
{
#ifdef USE_DGA_EXTENSION
if
(
dgamode
)
...
...
src/include/picasso96.h
View file @
65b99a5c
...
...
@@ -751,7 +751,7 @@ extern void gfx_set_picasso_modeinfo (uae_u32 w, uae_u32 h, uae_u32 d, RGBFTYPE
extern
void
gfx_set_picasso_colors
(
RGBFTYPE
rgbfmt
);
extern
void
gfx_set_picasso_baseaddr
(
uaecptr
);
extern
void
gfx_set_picasso_state
(
int
on
);
extern
uae_u8
*
gfx_lock_picasso
(
void
);
extern
uae_u8
*
gfx_lock_picasso
(
int
fullupdate
);
extern
void
gfx_unlock_picasso
(
void
);
extern
void
picasso_clip_mouse
(
int
*
,
int
*
);
...
...
src/main.c
View file @
65b99a5c
...
...
@@ -199,7 +199,6 @@ void fixup_cpu (struct uae_prefs *p)
p
->
mmu_model
=
0
;
}
void
fixup_prefs
(
struct
uae_prefs
*
p
)
{
int
err
=
0
;
...
...
src/picasso96.c
View file @
65b99a5c
This diff is collapsed.
Click to expand it.
src/rommgr.c
View file @
65b99a5c
This diff is collapsed.
Click to expand it.
src/zfile.c
View file @
65b99a5c
...
...
@@ -2596,8 +2596,11 @@ static struct zvolume *prepare_recursive_volume (struct zvolume *zv, const TCHAR
if
(
!
zvnew
&&
!
(
flags
&
ZFD_NORECURSE
))
{
#if 1
/* zvnew = archive_directory_plain (zf);
zfile_fopen_archive_recurse (zvnew);
done = 1;*/
if (zvnew) {
zfile_fopen_archive_recurse (zvnew);
done = 1;
}
*/
#else
int
rc
;
int
index
;
...
...
@@ -2626,7 +2629,7 @@ static struct zvolume *prepare_recursive_volume (struct zvolume *zv, const TCHAR
break
;
// TODO
}
#endif
}
else
{
}
else
if
(
zvnew
)
{
zvnew
->
parent
=
zv
->
parent
;
zfile_fopen_archive_recurse
(
zvnew
);
done
=
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