Hello everyone, as always I apologize for my bad English. I have a problem with a basic game that only runs on Turbo R, it was written under Open MSX. I've never had any problems but since I added the AUTOEXEC.BAS file it's giving me speed issues, ie it's like it's running like an MSX2. The problem is that it doesn't always do it, let's say once in ten. Yesterday speaking in our group of the Msx Italia association, we established that it could be that the game passes on Z80 and Giuseppe Ettore Pintus (TheGeps), passed me a program line in LM to force the R800 The line is this: DEFUSR= 39+PEEK(-2385)+PEEK(-2384)*256:IFUSR(0)THENLINE>1COPY0&H80F6OR384ALLYOURBASEAREBELONGTOUS
I thought I fixed the problem, but this morning starting the game with this change, it still runs slow not like before but you can see the difference. I put a REM on the above line and reset the emulator and the game is running with the correct speed again. I can't understand why all this. Is there anyone who had these problems with the emulator?
A thousand thanks
Turbo R problems in Open MSX
Is your dsk file formatted in the MSX-DOS 2 format?
If it is formatted in the MSX-DOS 1 format, then the turbo R will switch to the Z80 mode.
Hello, Are you saying this is the problem? Even if it doesn't have the operating system inside, does it recognize the MSX DOS1 format?
Thank you
Yes, the format is not linked to the presence of the MSX-DOS files, as you can use CALL FORMAT in BASIC
And CALL FORMAT will choose automatically on turbo R the format appropriate to the currently active mode
https://www.msx.org/wiki/CALL_FORMAT
"If you use a turbo R computer or a MSX-DOS 2 cartridge, the formatting will be different if you boot with DOS2 enabled or disabled. DOS2 is not enabled if you boot with a DOS1-formatted disk in drive A (on MSX2 or higher) or if you press the '1' key during the boot sequence (only on MSX turbo R)."
Yes, that was the problem. I formatted the disk with MSX-DOS2 and solved. A thousand thanks.
Orazio already know this, I have mentioned the Dutch MSX Computer Magazine number 45, page 25. There is a listing in BASIC, which creates a new DOS file, called: "CHGCPU.COM", so you can use this to change the speed or switch between Z80 or R800 mode.
10 REM CHGCPU 20 REM 30 REM MSX Magazine (Japan) 40 REM 50 REM Alleen MSX turbo R! 60 REM 70 CLEAR 100,&H8FFF 80 OPEN "CHGCPU.COM" AS #1 LEN=1 90 FIELD #1,1 AS A$ 100 FOR L=0 TO 25 110 READ D$ 120 LSET A$=CHR$(VAL("&h"+D$) ) 130 PUT #1 140 NEXT: CLOSE #1: END 150 DATA FD,2A,C0,FC,DD,21,83,01 160 DATA CD,1C,00,E6,02,EE,82,FD 170 DATA 2A,C0,FC,DD,21,80,01,C3 180 DATA 1C,00
Thank you, Angelo