Does anyone know the command prompt to enable JIT in the GEMUS when running a game in Gambebase?
Tried JIT=True
I saw in another post to try JIT=yes but this does not work
Many thanks
Welcome to the Gamebase 64 forums. An attempt to document ALL Commodore 64 gameware before it's too late!
Enabling JIT in GEMUS
Moderator: Jimbo
- .mad.
- Honoured Member
- Location: Lancashire
Post
Re: Enabling JIT in GEMUS
Code: Select all
;-------------------------------------
;cachesize only used when JIT enabled
;-------------------------------------
If Key_cachesize CONTAINS(1024||2048||3072||4096||5120||6144||7168||8192)
Set_CFG_Value(%dbpath%\Scripts\Amiga.uae||cachesize||%cachesize_value%)
Else
Set_CFG_Value(%dbpath%\Scripts\Amiga.uae||cachesize||0)
End If
;------------------------
; for JIT Set all Direct
;------------------------
If Key_comp_trustbyte CONTAINS(indirect||direct)
Set_CFG_Value(%dbpath%\Scripts\Amiga.uae||comp_trustbyte||%comp_trustbyte_value%)
Else
Set_CFG_Value(%dbpath%\Scripts\Amiga.uae||comp_trustbyte||indirect)
End If
If Key_comp_trustword CONTAINS(indirect||direct)
Set_CFG_Value(%dbpath%\Scripts\Amiga.uae||comp_trustword||%comp_trustword_value%)
Else
Set_CFG_Value(%dbpath%\Scripts\Amiga.uae||comp_trustword||indirect)
End If
If Key_comp_trustlong CONTAINS(indirect||direct)
Set_CFG_Value(%dbpath%\Scripts\Amiga.uae||comp_trustlong||%comp_trustlong_value%)
Else
Set_CFG_Value(%dbpath%\Scripts\Amiga.uae||comp_trustlong||indirect)
End If
If Key_comp_trustnaddr CONTAINS(indirect||direct)
Set_CFG_Value(%dbpath%\Scripts\Amiga.uae||comp_trustnaddr||%comp_trustnaddr_value%)
Else
Set_CFG_Value(%dbpath%\Scripts\Amiga.uae||comp_trustnaddr||indirect)
End If
- Fiery Phoenix
- Keen Member
- Location: Bury, Lancs
- Fiery Phoenix
- Keen Member
- Location: Bury, Lancs
Post
Re: Enabling JIT in GEMUS
Giving this a bash on a break from work
I added copied bit into my Amiga script and I amended the Amiga.uae part to WHDLoad.uae, as I wanted it for some game using this.
So I entered Extras in GameBase / WHDLoad and into the Genus Fields / Use these fields sections and added the below:
comp_trustbyte=direct
comp_trustword=direct
comp_trustlong=direct
comp_trustnaddr=direct
But JIT not ticked when WinUAE boots
Tried adding JIT=true and JIT=yes, but not firing.
Can get the 24 Bit Addressing to be ticked as can see this mentioned in Scripts (copied below)
cpu_24bit_addressing||true
Tried amending this line to cpu_JIT, but would not work
Is it because there is no other line in the script to trigger the JIT to be ticked?
Not a deal breaker as no harm done just pressing F12 and selecting it manually, but when you have the bit between your teeth, can't let go!
I added copied bit into my Amiga script and I amended the Amiga.uae part to WHDLoad.uae, as I wanted it for some game using this.
So I entered Extras in GameBase / WHDLoad and into the Genus Fields / Use these fields sections and added the below:
comp_trustbyte=direct
comp_trustword=direct
comp_trustlong=direct
comp_trustnaddr=direct
But JIT not ticked when WinUAE boots
Tried adding JIT=true and JIT=yes, but not firing.
Can get the 24 Bit Addressing to be ticked as can see this mentioned in Scripts (copied below)
cpu_24bit_addressing||true
Tried amending this line to cpu_JIT, but would not work
Is it because there is no other line in the script to trigger the JIT to be ticked?
Not a deal breaker as no harm done just pressing F12 and selecting it manually, but when you have the bit between your teeth, can't let go!
- .mad.
- Honoured Member
- Location: Lancashire
Post
Re: Enabling JIT in GEMUS
JIT will only become "ticked" when a cache size is set.
cachesize=16384
and CPU must be 68020 or higher.
cpu_type=68020
cpu_model=68020
cachesize=16384
and CPU must be 68020 or higher.
cpu_type=68020
cpu_model=68020
- Fiery Phoenix
- Keen Member
- Location: Bury, Lancs
Post
Re: Enabling JIT in GEMUS
Thankyou
So no need to enter anything like JIT= true?
So on my WHDLoad for Alien Breed 3D in the GEMUS fields reads like this:
CPU working as can change between 68020 and 68030 and WinUAE reflects the change
And tried this:
Both load fine in WHDLoad but no JIT checked?
Script amendment is this - just added WHDLoad.uae over Amiga.uae
So no need to enter anything like JIT= true?
So on my WHDLoad for Alien Breed 3D in the GEMUS fields reads like this:
CPU working as can change between 68020 and 68030 and WinUAE reflects the change
Code: Select all
cd=dh1:AlienBreed3DAGAFixed;
whdload=AlienBreed3DAGAFixed.slave PRELOAD;
collision_level=playfields
cpu_speed=max
finegrain_cpu_speed=512
immediate_blits=true
cpu_compatible=false
cpu_cycle_exact=false
blitter_cycle_exact=false
comp_trustbyte=direct
comp_trustword=direct
comp_trustlong=direct
comp_trustnaddr=direct
cachesize=16384
cpu_type=68030
cpu_model=68030
Code: Select all
cd=dh1:AlienBreed3DAGAFixed;
whdload=AlienBreed3DAGAFixed.slave PRELOAD;
comp_trustbyte=direct
comp_trustword=direct
comp_trustlong=direct
comp_trustnaddr=direct
cachesize=16384
cpu_type=68030
cpu_model=68030
Script amendment is this - just added WHDLoad.uae over Amiga.uae
Code: Select all
;cachesize only used when JIT enabled
;-------------------------------------
If Key_cachesize CONTAINS(1024||2048||3072||4096||5120||6144||7168||8192)
Set_CFG_Value(%dbpath%\Scripts\WHDLoad.uae||cachesize||%cachesize_value%)
Else
Set_CFG_Value(%dbpath%\Scripts\WHDLoad.uae||cachesize||0)
End If
;------------------------
; for JIT Set all Direct
;------------------------
If Key_comp_trustbyte CONTAINS(indirect||direct)
Set_CFG_Value(%dbpath%\Scripts\WHDLoad.uae||comp_trustbyte||%comp_trustbyte_value%)
Else
Set_CFG_Value(%dbpath%\Scripts\WHDLoad.uae||comp_trustbyte||indirect)
End If
If Key_comp_trustword CONTAINS(indirect||direct)
Set_CFG_Value(%dbpath%\Scripts\WHDLoad.uae||comp_trustword||%comp_trustword_value%)
Else
Set_CFG_Value(%dbpath%\Scripts\WHDLoad.uae||comp_trustword||indirect)
End If
If Key_comp_trustlong CONTAINS(indirect||direct)
Set_CFG_Value(%dbpath%\Scripts\WHDLoad.uae||comp_trustlong||%comp_trustlong_value%)
Else
Set_CFG_Value(%dbpath%\Scripts\WHDLoad.uae||comp_trustlong||indirect)
End If
- .mad.
- Honoured Member
- Location: Lancashire
Post
Re: Enabling JIT in GEMUS
there must be an incompatible option set somewhere in your config.
these are my options...
-comp_trustbyte=direct
-comp_trustword=direct
-comp_trustlong=direct
-comp_trustnaddr=direct
-cachesize=16384
-cpu_cycle_exact=false
comp_nf=true
comp_constjump=true
comp_flushmode=hard
compfpu=true
comp_catchfault=true
cpu_speed=max
cpu_throttle=0.0
cpu_type=68020
cpu_model=68030
cpu_compatible=true
cpu_24bit_addressing=false
cpu_data_cache=true
cpu_memory_cycle_exact=false
----
boot alien breed from gamebase, enter emu settings and save the "JIT not enabled" config.
tick all your required JIT options and save the "JIT working" config.
compare them to find the problem setting.
these are my options...
-comp_trustbyte=direct
-comp_trustword=direct
-comp_trustlong=direct
-comp_trustnaddr=direct
-cachesize=16384
-cpu_cycle_exact=false
comp_nf=true
comp_constjump=true
comp_flushmode=hard
compfpu=true
comp_catchfault=true
cpu_speed=max
cpu_throttle=0.0
cpu_type=68020
cpu_model=68030
cpu_compatible=true
cpu_24bit_addressing=false
cpu_data_cache=true
cpu_memory_cycle_exact=false
----
boot alien breed from gamebase, enter emu settings and save the "JIT not enabled" config.
tick all your required JIT options and save the "JIT working" config.
compare them to find the problem setting.
- Fiery Phoenix
- Keen Member
- Location: Bury, Lancs
Post
Re: Enabling JIT in GEMUS
Cheers
Came to me in middle of night - sad
I entered that cache example of 16384 below (just copied and pasted it) but this figure is not in the Script. As soon as I changed it to one in the Script, i.e. cachesize=6144 - worked
What a dufus
Respec-a-mundo
Came to me in middle of night - sad
I entered that cache example of 16384 below (just copied and pasted it) but this figure is not in the Script. As soon as I changed it to one in the Script, i.e. cachesize=6144 - worked
What a dufus
Respec-a-mundo
Return to “Commodore Amiga - GameBase Amiga”
Who is online
Users browsing this forum: No registered users and 4 guests