View Single Post
Old 23 January 2013, 06:25   #20
NovaCoder
Registered User
 
NovaCoder's Avatar
 
Join Date: Sep 2007
Location: Melbourne/Australia
Posts: 4,400
Quote:
Originally Posted by amigoun View Post
If the source code of PCTask was also released for free, we would have the optimized 68k-x86 JIT core already. But the source code was probably lost?
I'm not sure if that would even help very much, it needs to be coded in a DosBox format for it to work.

Matt is getting closer with the core, this is what the 68k code is now generating on startup (means nothing to me but looks pretty).

Code:
$0bdc4000:                MOVE.L     #$0b5c1c34,$0a419b54.L
$0bdc400a:                MOVE.L     _CPU_Cycles,D0
$0bdc4010:                TST.L      D0
$0bdc4012:                BLE.L      $0bdc406c
$0bdc4018:                MOVE.W     $08c49f8a.L,D0
$0bdc401e:                MOVE.W     #$e7ce,D1
$0bdc4022:                JSR        $08a3c95c.L
$0bdc4028:                SUBI.L     #$00000002,_CPU_Cycles
$0bdc4032:                JSR        $08a3fa04.L
$0bdc4038:                TST.L      D0
$0bdc403a:                BNE.S      $0bdc4054
$0bdc403c:                ADDI.L     #$00000006,$08c49f98.L
$0bdc4046:                MOVE.L     $0b5c1c58.L,A0
$0bdc404c:                ADDA.L     #$00000008,A0
$0bdc4052:                JMP        (A0)
$0bdc4054:                ADDI.L     #$00000008,$08c49f98.L
$0bdc405e:                MOVE.L     $0b5c1c64.L,A0
$0bdc4064:                ADDA.L     #$00000008,A0
$0bdc406a:                JMP        (A0)
$0bdc406c:                MOVE.L     #$00000001,D0
$0bdc4072:                RTS
So the current plan is for Matt to get DosBox running using this dynamic core on his real RTG Amiga, when it seems to be running properly he will concentrate on improving performance.

Hopefully by the time I've pulled my finger out and ported my RTG version of DosBox to AGA, his 68k core should be fast and stable
NovaCoder is offline  
 
Page generated in 0.12394 seconds with 11 queries