Who's Online
41 user(s) are online (
25 user(s) are browsing
Forums )
Members: 1
Guests: 40
Nuder_Try ,
more...
Headlines
polarpaint.lha - graphics/edit
Apr 18, 2025
polarpaint_small.lha - graphics/edit
Apr 18, 2025
amifish.lha - game/board
Apr 17, 2025
baccarat.lha - game/card
Apr 16, 2025
yt.lha - video/misc
Apr 16, 2025
amiarcadia.lha - emulation/gamesystem
Apr 15, 2025
amissl-sdk.lha - development/misc
Apr 14, 2025
arabic_console_devicepro2.lha - driver/input
Apr 14, 2025
amissl.lha - library/misc
Apr 14, 2025
reportplus.lha - utility/misc
Apr 12, 2025
Topic options
View mode
Newest First
UAE JIT BETA 2
Posted on:
2014/3/15 19:07
#1
Quite a regular
Joined: 2006/11/22 17:57Last Login
: 2024/6/4 15:05
From Italy, Rome
Group:
Registered Users
Re: UAE JIT BETA 2
Posted on:
2014/3/16 2:55
#2
Not too shy to talk
Joined: 2011/11/29 0:54Last Login
: 3/22 18:52
From Norway
Group:
Registered Users
oh man, that was long but very informative and interesting info. thanks i can feel hard work is done here also
Sam460ex 2GB 120Gb SSD&1Tb HD7750 Envy24HT A-Eon Drv 2.10+Warp3D New Uboot Apollo v4 Standalone
Re: UAE JIT BETA 2
Posted on:
2014/3/18 22:16
#3
Just popping in
Joined: 2009/7/14 17:00Last Login
: 2021/11/4 20:29
From Utah, USA
Group:
Registered Users
@AmigaBlitter Thanks for posting the link. I wonder what improvements could be made regarding the reference to an executable compiled specifically for PA-Semi / X1000
Sam460 : X1000 : X5000
Re: UAE JIT BETA 2
Posted on:
2014/3/18 22:29
#4
Home away from home
Joined: 2006/11/20 16:26Last Login
: Today 7:10
From Norway
Group:
Registered Users
@logicalheart Its almost as slow as interpreted emulation on X1000. The opcodes in the Just In Time compiler are not compatible whit Pa-Semi. AmigaOS4 emulates missing opcodes, and result is slow run time speed. This are Dystone numbers I have from SysInfo: EUAE Beta 1: 4880 EUAE Beta 2: 4918 Old EUAE before JIT: 3540. Yes there are some improvement but not major like you see on G4. The EUAE-JIT G5 version is only availabile on MorphOS/MacOS, so I can't test that one.
(NutsAboutAmiga) Basilisk II for AmigaOS4 AmigaInputAnywhere Excalibur and other tools and apps.
Re: UAE JIT BETA 2
Posted on:
2014/3/18 23:42
#5
Just can't stay away
Joined: 2007/2/6 13:57Last Login
: 4/9 20:05
From Donostia (SPAIN)
Group:
Registered Users
On my SAM460ex if I don't set 'ppc.use_tbc=false' in .uaerc timebase is wrong calculated: .. E-UAE 0.8.29-PPCJITBETA02 Build date: Mar 9 2014 14:20:46 Found 0 joysticks Opening cfgfile '.uaerc'...okay. Error: directory 'OS3' not found unknown config entry: 'enable_jit=yes' Calibrating timebase... Timebase frequency: 296.143080 MHz .. Setting such option I get: .. #uaeJIT E-UAE 0.8.29-PPCJITBETA02 Build date: Mar 9 2014 14:20:46 Found 0 joysticks Opening cfgfile '.uaerc'...okay. Error: directory 'OS3' not found unknown config entry: 'enable_jit=yes' EClock frequency:1155.000010 MHz .. SAM460ex: 1155 MHz L1: 32768, L2: 262144, L3: 0 Bytes FSB: 231 MHz
Re: UAE JIT BETA 2
Posted on:
2014/3/19 7:18
#6
Not too shy to talk
Joined: 2008/12/20 17:26Last Login
: 2018/2/23 11:28
Group:
Registered Users
"executable compiled specifically for PA-Semi / X1000" Do we have gcc that supports compiler optimizations for PA6T? Then... we need gcc that is aware of e5500 & e6500.
- Kimmo --------------------------PowerPC-Advantage------------------------ "PowerPC Operating Systems can use a microkernel architecture with all it�s advantages yet without the cost of slow context switches." - N. Blachford
Re: UAE JIT BETA 2
Posted on:
2014/3/19 7:48
#7
Quite a regular
Joined: 2006/11/27 17:23Last Login
: 2020/4/12 11:04
Group:
Registered Users
Am I right in thinking that the GCC we have pre-dates the PA6t? I'm not sure anyone is maintaining GCC are they? We really need support for our flagship.... is the current GCC version in thr official GCC repisitory? Well done on the JIT progress though!
Re: UAE JIT BETA 2
Posted on:
2014/3/19 13:14
#8
Just can't stay away
Joined: 2009/4/28 3:57Last Login
: Today 11:58
From Adelaide, Australia
Group:
Registered Users
@jabirulo E-UAE JIT beta 2 detects sam440ep and skips calculating the timebase. MACHINETYPE_SAM460 isn't included in the SDK that Rachy built it with, but I think that can be worked around without updating the SDK, seeing as it's just a numerical value. I'll let him know.
Re: UAE JIT BETA 2
Posted on:
2014/3/19 13:33
#9
Just can't stay away
Joined: 2008/4/10 13:57Last Login
: Today 12:37
From Northern Ireland
Group:
Registered Users
the pa6t gcc machine description is available here
http://gcc.gnu.org/ml/gcc-patches/2008-01/msg00854.html Whether it is usable for AmigaOS is another thing entirely...
Re: UAE JIT BETA 2
Posted on:
2014/3/19 14:50
#10
Just can't stay away
Joined: 2009/4/28 3:57Last Login
: Today 11:58
From Adelaide, Australia
Group:
Registered Users
@jabirulo I sent you a private message.
Re: UAE JIT BETA 2
Posted on:
2014/3/19 16:02
#11
Just can't stay away
Joined: 2007/2/6 13:57Last Login
: 4/9 20:05
From Donostia (SPAIN)
Group:
Registered Users
@LiveForIt Have you tried to add 'ppc.use_tbc=false' in .uaerc? Can you mark&paste here your timebase/eclock value? without 'ppc.use_tbc=false': E-UAE 0.8.29-PPCJITBETA02 .. Calibrating timebase... Timebase frequency: 296.143080 MHz .. with 'ppc.use_tbc=false': E-UAE 0.8.29-PPCJITBETA02 .. EClock frequency:1155.000010 MHz
Re: UAE JIT BETA 2
Posted on:
2014/3/19 17:24
#12
Home away from home
Joined: 2006/11/20 16:26Last Login
: Today 7:10
From Norway
Group:
Registered Users
@jabirulo
Yes I have use_tbc=false.
# Example UAE configuration
#
# Lines beginning with a '#' are comments
# Path to file containing Kickstart ROM image
kickstart_rom_file = sys : Emulation / AmigaROMs / Kickstart - A1200 - 40.68 . rom
filesystem2 = rw , dh0 : workbench : work : UAE - HD / workbench , 1
filesystem2 = rw , dh1 : work : work : UAE - HD / work , 0
# If you have an encrypted ROM image from Amiga forever,
# this is a path to the key file
kickstart_key_file = rom . key
# Default path where floppy disk images may be found
amiga . floppy_path = PROGDIR : Floppies
#Show status LEDs on emulator screen
show_leds = true
# Enable floppy drives 2 & 3
floppy1 = off
#floppy2type=0
#floppy3type=0
# Speed of floppy drives; 100 is normal speed (most compatible), 800 is fastest speed (least compatible)
floppy_speed = 800
# Joystick port emulation; none, mouse, joy0, joy1, kbd1, kbd2, kbd3
joyport0 = mouse
joyport1 = kbd2
#joyport1=joy1
# CPU type to emulate
enable_jit = yes
cpu_speed = max
cpu_type = 68020
cpu_compatible = false
cpu_cycle_exact = false
blitter_cycle_exact = false
comp_optimize = no ( see Known issues )
cachesize = 8192 (or higher )
comp_constjump = yes
comp_trustbyte = indirect ( see Known issues )
comp_trustword = indirect
comp_trustlong = indirect
cachesize = 16384
cpu_type = 68EC020 / 68881
#cpu_type=68040
# CPU compatibility (true is slower)
cpu_24bit_addressing = false
# CPU emulation speed
# real = approx A500 speed. max = CPU emulation will run as fast as it can
cpu_speed = max
# Amiga chipset to emulate
# Can be ocs, ecs or aga
chipset = aga
immediate_blits = false
blitter_cycle_exact = false
# Collision detection; none, sprites, playfields, full
#collision_level=playfields
collision_level = none
# Amount of chip memory to emulate
# in multiples of 512K. Thus chipmem=4 is 2MB
chipmem_size = 4
bogomem_size = 0
# Amount of fast memory to emulate in MB
fastmem_size = 8
z3mem_size = 32
# Sound output; none, interrupts, normal, exact
sound_output = normal
#sound_output=interrupts
# Sound channels; mono, stereo, mixed
sound_channels = mono
# Frequency of emulated sound output in Hz
sound_frequency = 44100
# Sound buffer size in bytes, default 8192
sound_max_buff = 8192
sound_latency = 120
# Prompt for screen mode to use; public, custom, ask
amiga . screen_type = custom
amiga . publicscreen =
gfx_fullscreen_amiga = true
# Don't dither
amiga . use_dither = false
# Set frame skipping (1=show all frames, 2=show every 2nd frame, 3=show every 3rd frame, etc)
gfx_framerate = 2
# Display settings
#gfx_width_windowed=640
#gfx_height_windowed=480
gfx_lores = false
gfx_linemode = double
gfx_correct_aspect = no
gfx_center_horizontal = smart
gfx_center_vertical = smart
# Miscellaneous
use_debugger = no
ppc . use_tbc = false
# Full floppy drive noises
floppy0sound = 0
# Additional settings
#RUNINUAE: SCREENMODE=ScreenMode_HiRes.prefs
EClock frequency:66.666666 MHz
Current stack size is 503.800 bytes
6.System :> cd System : Emulation / E - UAE_0.8.29 - PPCJITBETA02_AmigaOS4 /
6.System : Emulation / E - UAE_0.8.29 - PPCJITBETA02_AmigaOS4 > uae
E - UAE 0.8.29 - PPCJITBETA02
Build date : Mar 9 2014 14 : 20 : 46
Found 0 joysticks
Opening cfgfile '.uaerc' ... okay .
unknown config entry : 'enable_jit=yes'
Option ` comp_optimize' requires a value of either ` yes ' or `no' .
Option ` cachesize' requires a numeric argument.
unknown config entry: 'comp_trustbyte=indirect (see Known issues)'
unknown config entry: 'sound_max_buff=8192'
unknown config entry: 'floppy0sound=0'
EClock frequency:66.666666 MHz
Rexx port "UAE" installed.
No disk in drive 0.
Resetting frame rate hack
Building CPU table for configuration: 68020/881
1866 CPU functions
Building CPU function table, 45954 opcodes (3 0 0).
JIT: Building compiler function table.
JIT: Allocation of translation cache...
JIT: Translation cache size in prefs: 16384
JIT: Allocated 16384 KB translation cache.
Resetting frame rate hack
AMIGFX: Using a 16-bit true-colour display.
Sound driver found and configured for mono at 44100 Hz, buffer is 10584 bytes.
reset at 0
JIT: Compiling reset
JIT: Change cache emulation: disabled
PAL mode, 50Hz (h=227 v=312)
chipmem cleared
SERIAL: period=372, baud=9600, hsyncs=16 PC=f8018a
JIT: Change cache emulation: enabled
JIT: Change cache emulation: enabled
Fastcard: mapped @$200000: 8MB fast memory
Card 1 (ZorroII) done.
Fastmem (32bit): mapped @$10000000: 32 MB Zorro III fast memory
Card 2 (ZorroIII) done.
Filesystem: mapped memory @ $e90000 .
Card 3 (ZorroII) done.
there is nothing about "Calibrating timebase" in my EUAE log.
(NutsAboutAmiga) Basilisk II for AmigaOS4 AmigaInputAnywhere Excalibur and other tools and apps.
Re: UAE JIT BETA 2
Posted on:
2014/3/19 19:00
#13
Just can't stay away
Joined: 2007/2/6 13:57Last Login
: 4/9 20:05
From Donostia (SPAIN)
Group:
Registered Users
@LiveForIt
Remove the "comments" '(see Known issues)' and '(or higher)'
comp_optimize = no
cachesize = 8192
comp_constjump = yes
comp_trustbyte = indirect
comment out (stay with plain 68020 cpu):
#cpu_type=68EC020/68881
And what happens if you don't set (comment out) 'ppc.use_tbc=false' on your X1000? Just for courosity.
Re: UAE JIT BETA 2
Posted on:
2014/3/19 19:33
#14
Home away from home
Joined: 2006/11/20 16:26Last Login
: Today 7:10
From Norway
Group:
Registered Users
@jabirulo Here is the result: Removed comment... strange I did not notice that, guess I copied the .uaerc file from some where. Removing the comment made no difference. Setting the CPU to 68020 and I get 4674 Setting ppc.uae_tbc=true. Enabled the calibration. and now SysInfo says I have 700 Mhz, before it was 7Mhz. Dystones goes up to 4765. Changing the CPU back to what it was 68EC020/68881. Gave me 4857 Dystones. The EClock frequency stays the same 66.666666 Mhz.
Edited by LiveForIt on 2014/3/19 20:06:18
(NutsAboutAmiga) Basilisk II for AmigaOS4 AmigaInputAnywhere Excalibur and other tools and apps.
Re: UAE JIT BETA 2
Posted on:
2014/3/19 23:02
#15
Just can't stay away
Joined: 2007/2/6 13:57Last Login
: 4/9 20:05
From Donostia (SPAIN)
Group:
Registered Users
@LiveForIt
Well here on my SAM460ex, testing with SysInfo 4.0 (
http://sysinfo.d0.se ) get ~20000 Dhrystones!!!! Strange that you get such value.
My .uaerc file:
# UAE Configuration File
# Created with UAE Config for OS4
# By Scott A. Cabit
#
# lCTRL+lALT+Q para salir de UAE
#
kickstart_rom_file = kick3.1 . rom
joyport0 = mouse
joyport1 = kbd1
#floppy0=WB_30.adf
#hardfile=rw,8192,2,1,512,DH8:hardfile01
#filesystem1=ro,CD0:CD0:
#filesystem=rw,MAMA:OS3
#cpu_type=68020
chipset = AGA
#cpu_speed=max
#cpu_compatible=yes
cpu_24bit_addressing = no
chipmem_size = 4
fastmem_size = 8
gfx_width = 640
gfx_height = 512
#gfx_linemode=scanlines
#gfx_correct_aspect=yes
#gfxcard_size=4
gfx_center_vertical = true
gfx_center_horizontal = true
#gfx_fullscreen_amiga=true
#gfx_fullscreen_picasso=yes
sound_output = normal
#amiga.screen_type=ask
show_leds = yes
#gfx_framerate=2
#enable_jit=yes
cpu_speed = max
cpu_type = 68020
cpu_compatible = false
cpu_cycle_exact = false
blitter_cycle_exact = false
comp_optimize = no
cachesize = 8192
comp_constjump = yes
comp_trustbyte = indirect
comp_trustword = indirect
comp_trustlong = indirect
#ppc.use_tbc=false
And 'Timebase frequency: 1155.000010 MHz'
Edited by jabirulo on 2014/3/19 23:24:45
Re: UAE JIT BETA 2
Posted on:
2014/3/19 23:04
#16
Just can't stay away
Joined: 2007/2/6 13:57Last Login
: 4/9 20:05
From Donostia (SPAIN)
Group:
Registered Users
@MickJT
Great now I get (with both versions):
..
Timebase frequency: 1155.000010 MHz
..
BTW SDL seems faster, but just maybe a feelling
Re: UAE JIT BETA 2
Posted on:
2014/3/19 23:36
#17
Home away from home
Joined: 2006/11/20 16:26Last Login
: Today 7:10
From Norway
Group:
Registered Users
@jabirulo Yes is strange thing about TimeBase frequence I don't know if this is calculated or if this what it reads from Timer.Device :-/ As for slow JIT preperformance, I think thats because of what I wrote before, but maybe there is some thing strange going on, whit Timer.device. I'm not so shore anymore, should it not be 1800 Mhz on X1000? Or what is the correct value? Yes the Picasso96 video modes will be faster then AGA modes, 1 to 1 emulation, instead of having to do planar to chunky concertion + cooper emulation on the palette while converting it into native videomode, or what ever it does. I'm shore the AGA emulation is efficient, but not as efficient as native video modes.
Edited by LiveForIt on 2014/3/20 0:57:17
(NutsAboutAmiga) Basilisk II for AmigaOS4 AmigaInputAnywhere Excalibur and other tools and apps.
Re: UAE JIT BETA 2
Posted on:
2014/3/20 0:00
#18
Just can't stay away
Joined: 2007/2/6 13:57Last Login
: 4/9 20:05
From Donostia (SPAIN)
Group:
Registered Users
@LiveForIt Yep, timer calculation seems odd on X1000, maybe someone can fix it. MickJT? Anyone with X1000 can post timebase/SysInfo results?
Re: UAE JIT BETA 2
Posted on:
2014/3/20 0:59
#19
Home away from home
Joined: 2006/11/20 16:26Last Login
: Today 7:10
From Norway
Group:
Registered Users
@jabirulo Shame I can't get EUAE compiling under AmigaOS4, I think every one is using cross compilers. Hemmm... I guess I can take some code snippets and experiment. Whit out compiling every thing.
(NutsAboutAmiga) Basilisk II for AmigaOS4 AmigaInputAnywhere Excalibur and other tools and apps.
Re: UAE JIT BETA 2
Posted on:
2014/3/20 1:52
#20
Just can't stay away
Joined: 2009/4/28 3:57Last Login
: Today 11:58
From Adelaide, Australia
Group:
Registered Users
@LiveForIt Do you get the same frequency issue (66mhz) with beta 1, or with any other version of e-uae, when ppc.use_tbc is false? Is the frequency calculated correctly if you use the non-JIT versions of e-uae and ppc.use_tbc=true ? Try with the version that comes with RunInUAE. I know that on my sam440ep-flex, in versions of e-uae PPC JIT prior to beta 2 (beta 2 specifically detects a sam440 or amigaone, but not 460/x1000), if I didn't have ppc.use_tbc=false, the frequency would be calculated wrong and the JIT would be much slower. In my experience it definitely affects the JIT speed. Looks like a define will need to be made for X1000, but someone else will have to figure out what to do for that. You could probably hardcode a figure that assumes all X1000 CPUs are the same speed (which afaik is true for now). I have sent you a couple of private messages.
Currently Active Users Viewing This Thread:
1
(
0 members
and 1 Anonymous Users
)