Outils pour utilisateurs

Outils du site


tutos:software:emulateurs:atari800winplus

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentes Révision précédente
Prochaine révision
Révision précédente
tutos:software:emulateurs:atari800winplus [2017/02/12 16:55]
stephco08 [Installation]
tutos:software:emulateurs:atari800winplus [2017/02/14 11:42] (Version actuelle)
thesalan
Ligne 10: Ligne 10:
   * [[:tutos:software:systemes:atari-8bit|Atari 8-bit]].   * [[:tutos:software:systemes:atari-8bit|Atari 8-bit]].
   * [[:tutos:software:systemes:atari-xegs|Atari XEGS]].   * [[:tutos:software:systemes:atari-xegs|Atari XEGS]].
- 
  
 ===== Installation ===== ===== Installation =====
Ligne 33: Ligne 32:
  
 {{  :tutos:emulateurs:atari800winplus_install_04.png?nolink&  }} {{  :tutos:emulateurs:atari800winplus_install_04.png?nolink&  }}
- 
  
 ===== Intégration dans RocketLauncher ===== ===== Intégration dans RocketLauncher =====
Ligne 39: Ligne 37:
 ==== Module ==== ==== Module ====
  
-Nous utilisons içi une version légèrement modifié du module //Atari800WinPlus.ahk// qui permet de prendre en charge les fichiers //.bin// :+Nous utilisons içi une version légèrement modifiée du module "//Atari800WinPlus.ahk"// qui permet de prendre en charge les fichiers "//.bin"// :
  
 <wrap lo>(Cliquez sur le titre ci-dessous pour directement télécharger le fichier)</wrap> <wrap lo>(Cliquez sur le titre ci-dessous pour directement télécharger le fichier)</wrap>
Ligne 53: Ligne 51:
 mId = 635532589929508800 mId = 635532589929508800
 MSystem = "Atari XEGS","Atari 8-Bit","Atari 5200" MSystem = "Atari XEGS","Atari 8-Bit","Atari 5200"
-  + ;----------------------------------------------------------------------------; Notes:;; Settings are stored in the registry @ HKEY_CURRENT_USER\Software\Atari800WinPLus; CLI is the same is nonGUI emulator, Atari800. However, some of the CLI does not seem to do anything,; so registry updates are used in some cases.;; Enter rom images for OS-A, OS-B, XL/XE, 5200 and BASIC via Atari | Rom images;; Some Atari 8-Bit computer games require BASIC Revision A version. Not a bad idea to use that as a default,; since it seems to work for all games that require a version of BASIC.;; Mouse can be used to emulate paddles, lightgun and lightpen.;; This emulator has proven to be very buggy with lots of random crashes. Also fullscreen doesn't work properly.; To setup fullscreen mode, go to View->Graphics Options and then select:; - 640x480, partially clipped - This is the only real fullscreen mode, but the image will be clipped so it's; no good.; - 800x600 or 1024x768, full display - These will work without clipping, but the colors will be wrong and you; will also have the menu and toolbar always visible.; So it's basically useless. Besides fullscreen will make the emulator crash many times. It's highly suggested; than you use Atari800 instead of this emulator since it's a much better version.;----------------------------------------------------------------------------
-;---------------------------------------------------------------------------- +
-; Notes: +
-; +
-; Settings are stored in the registry @ HKEY_CURRENT_USER\Software\Atari800WinPLus +
-; CLI is the same is nonGUI emulator, Atari800. However, some of the CLI does not seem to do anything, +
-; so registry updates are used in some cases. +
-; +
-; Enter rom images for OS-A, OS-B, XL/XE, 5200 and BASIC via Atari | Rom images +
-; +
-; Some Atari 8-Bit computer games require BASIC Revision A version. Not a bad idea to use that as a default, +
-; since it seems to work for all games that require a version of BASIC. +
-; +
-; Mouse can be used to emulate paddles, lightgun and lightpen. +
-; +
-; This emulator has proven to be very buggy with lots of random crashes. Also fullscreen doesn't work properly. +
-; To setup fullscreen mode, go to View->Graphics Options and then select: +
-; - 640x480, partially clipped - This is the only real fullscreen mode, but the image will be clipped so it's +
-; no good. +
-; - 800x600 or 1024x768, full display - These will work without clipping, but the colors will be wrong and you +
-; will also have the menu and toolbar always visible. +
-; So it's basically useless. Besides fullscreen will make the emulator crash many times. It's highly suggested +
-; than you use Atari800 instead of this emulator since it's a much better version. +
-;----------------------------------------------------------------------------+
 StartModule() StartModule()
 BezelGUI() BezelGUI()
 FadeInStart() FadeInStart()
- +
 mType := Object("Atari XEGS","xegs","Atari 8-Bit","xl","Atari 5200","5200") mType := Object("Atari XEGS","xegs","Atari 8-Bit","xl","Atari 5200","5200")
-ident := mType[systemName] ; search object for the systemName identifier Atari800 uses+ident := mType[systemName]; search object for the systemName identifier Atari800 uses
 If !ident If !ident
 ScriptError("Your systemName is: " . systemName . "`nIt is not one of the known supported systems for this Atari800 module: " . moduleName) ScriptError("Your systemName is: " . systemName . "`nIt is not one of the known supported systems for this Atari800 module: " . moduleName)
-  + ;clear out registry values - any leftovers from previous executions can cause the emu to crash
-;clear out registry values - any leftovers from previous executions can cause the emu to crash+
 RegWrite, REG_SZ, HKCU, Software\Atari800WinPLus, fileAutoboot, RegWrite, REG_SZ, HKCU, Software\Atari800WinPLus, fileAutoboot,
 RegWrite, REG_SZ, HKCU, Software\Atari800WinPLus, fileTape, RegWrite, REG_SZ, HKCU, Software\Atari800WinPLus, fileTape,
Ligne 92: Ligne 66:
 RegWrite, REG_SZ, HKCU, Software\Atari800WinPLus, fileRomCartridge, RegWrite, REG_SZ, HKCU, Software\Atari800WinPLus, fileRomCartridge,
 RegWrite, REG_SZ, HKCU, Software\Atari800WinPLus, fileRomCurrent, RegWrite, REG_SZ, HKCU, Software\Atari800WinPLus, fileRomCurrent,
-  + 
-IfExist, % modulePath . "\" . systemName . ".ini" ; use a custom systemName ini if it exists+IfExist, % modulePath . "\" . systemName . ".ini"; use a custom systemName ini if it exists
 settingsFile := modulePath . "\" . systemName . ".ini" settingsFile := modulePath . "\" . systemName . ".ini"
 Else Else
 settingsFile := modulePath . "\" . moduleName . ".ini" settingsFile := modulePath . "\" . moduleName . ".ini"
- +
 7z(romPath, romName, romExtension, 7zExtractPath) 7z(romPath, romName, romExtension, 7zExtractPath)
- +
 Fullscreen := IniReadCheck(settingsFile, "Settings", "Fullscreen","true",,1) Fullscreen := IniReadCheck(settingsFile, "Settings", "Fullscreen","true",,1)
 fullscreenCLI := If (Fullscreen="true") ? "-fullscreen" : "-windowed" fullscreenCLI := If (Fullscreen="true") ? "-fullscreen" : "-windowed"
 MouseMode := IniReadCheck(settingsFile, romName, "MouseMode",A_Space,,1) MouseMode := IniReadCheck(settingsFile, romName, "MouseMode",A_Space,,1)
- +
 cliOptions = %fullscreenCLI% cliOptions = %fullscreenCLI%
-  + ;set mouse mode
-;set mouse mode+
 if (MouseMode in Paddle,Lightgun,Lightpen) if (MouseMode in Paddle,Lightgun,Lightpen)
 RegWrite, REG_DWORD, HKCU, Software\Atari800WinPLus, inputState,66 RegWrite, REG_DWORD, HKCU, Software\Atari800WinPLus, inputState,66
Ligne 119: Ligne 92:
 cliOptions := cliOptions . " -mouse off" cliOptions := cliOptions . " -mouse off"
 } }
- +
 If (SystemName = "Atari 5200") If (SystemName = "Atari 5200")
 { {
 cliOptions := cliOptions . " -5200 " cliOptions := cliOptions . " -5200 "
- +
 CartType := IniReadCheck(settingsFile, romName, "CartType",0,,1) CartType := IniReadCheck(settingsFile, romName, "CartType",0,,1)
 if (!CartType) { if (!CartType) {
 a5200cartMaps := Object(4,20,8,19,16,6,32,4,40,7) a5200cartMaps := Object(4,20,8,19,16,6,32,4,40,7)
 FileGetSize, fsize, %romPath%\%romName%%romExtension%, K FileGetSize, fsize, %romPath%\%romName%%romExtension%, K
-CartType := a5200cartMaps[fsize] ; search object for the systemName identifier Atari800 uses+CartType := a5200cartMaps[fsize]; search object for the systemName identifier Atari800 uses
 } }
- +
 If (!CartType) If (!CartType)
 ScriptError("Unknown cart type, make sure you define a CartType for this game on Atari 5200.ini") ScriptError("Unknown cart type, make sure you define a CartType for this game on Atari 5200.ini")
 Else Else
 RegWrite, REG_DWORD, HKCU, Software\Atari800WinPLus, sysCartType,%CartType% RegWrite, REG_DWORD, HKCU, Software\Atari800WinPLus, sysCartType,%CartType%
- +
 cliOptions := cliOptions . " -cart " cliOptions := cliOptions . " -cart "
 } }
Ligne 156: Ligne 129:
 DisableSIOPatch := IniReadCheck(settingsFile, romName, "DisableSIOPatch","false",,1) DisableSIOPatch := IniReadCheck(settingsFile, romName, "DisableSIOPatch","false",,1)
 LoadBasicAsCart := IniReadCheck(settingsFile, romName, "LoadBasicAsCart","",,1) LoadBasicAsCart := IniReadCheck(settingsFile, romName, "LoadBasicAsCart","",,1)
-  + ;set machine type (OS-A, OS-B, XL)
-;set machine type (OS-A, OS-B, XL)+
 RegWrite, REG_DWORD, HKCU, Software\Atari800WinPLus, sysMachineType,%OSType% RegWrite, REG_DWORD, HKCU, Software\Atari800WinPLus, sysMachineType,%OSType%
-  + ;set sio patch (fast i/o access)
-;set sio patch (fast i/o access)+
 if (DisableSIOPatch = "true") if (DisableSIOPatch = "true")
 RegWrite, REG_DWORD, HKCU, Software\Atari800WinPLus, sysEnableSIOPatch,0 RegWrite, REG_DWORD, HKCU, Software\Atari800WinPLus, sysEnableSIOPatch,0
 else else
 RegWrite, REG_DWORD, HKCU, Software\Atari800WinPLus, sysEnableSIOPatch,1 RegWrite, REG_DWORD, HKCU, Software\Atari800WinPLus, sysEnableSIOPatch,1
- +
 basic := If (Basic="true") ? " -basic" : " -nobasic" basic := If (Basic="true") ? " -basic" : " -nobasic"
 videomode := If (VideoMode="PAL") ? " -pal" : " -ntsc" videomode := If (VideoMode="PAL") ? " -pal" : " -ntsc"
- +
 cliOptions := cliOptions . basic . videomode . " -"MachineType . " -mouse " . MouseMode cliOptions := cliOptions . basic . videomode . " -"MachineType . " -mouse " . MouseMode
- +
 if (LoadBasicAsCart) if (LoadBasicAsCart)
 { {
Ligne 177: Ligne 148:
 cliOptions := cliOptions . " -cart " . PathToBasicCart cliOptions := cliOptions . " -cart " . PathToBasicCart
 } }
-  + 
-If romExtension in .a52,.car,.cart,.rom,.bin ;Carts+If romExtension in .a52,.car,.cart,.rom,.bin;Carts
 { cliOptions := cliOptions . " -cart" { cliOptions := cliOptions . " -cart"
 RegWrite, REG_DWORD, HKCU, Software\Atari800WinPLus, sysCartType,%CartType% RegWrite, REG_DWORD, HKCU, Software\Atari800WinPLus, sysCartType,%CartType%
 } }
-Else if romExtension in .atr,.xfd,.atx,.bin ;Disks+Else if romExtension in .atr,.xfd,.atx,.bin;Disks
 cliOptions := cliOptions . " -disk1" cliOptions := cliOptions . " -disk1"
-Else if romExtension in .xex,.com,.bas,.bin ;Programs+Else if romExtension in .xex,.com,.bas,.bin;Programs
 cliOptions := cliOptions . " -run" cliOptions := cliOptions . " -run"
-Else if romExtension in .cas ;Tapes+Else if romExtension in .cas;Tapes
 { {
 fullRomPath := romPath . "\" . romName . romExtension fullRomPath := romPath . "\" . romName . romExtension
Ligne 197: Ligne 168:
 ScriptError("Your rom has an extension of " . romExtension . ", only these extensions are supported:`a52,car,cart,rom,cas,atr,xfd,atx,xex,com,bas,bin") ScriptError("Your rom has an extension of " . romExtension . ", only these extensions are supported:`a52,car,cart,rom,cas,atr,xfd,atx,xex,com,bas,bin")
 } }
- +
 BezelStart("fixResMode") BezelStart("fixResMode")
 Run(executable . " " . cliOptions . " """ . romPath . "\" . romName . romExtension, emuPath) Run(executable . " " . cliOptions . " """ . romPath . "\" . romName . romExtension, emuPath)
- +
 WinWait("Atari800Win PLus") WinWait("Atari800Win PLus")
 Sleep, 500 Sleep, 500
-  + ; script to look for previous crash window...; If previous run of emu crashed, auto-select No to avoid resetting ALL settings
-; script to look for previous crash window... +
-; If previous run of emu crashed, auto-select No to avoid resetting ALL settings+
 IfWinExist, Atari800Win PLus ahk_class #32770 IfWinExist, Atari800Win PLus ahk_class #32770
 { {
Ligne 211: Ligne 180:
 IfWinActive, Atari800Win PLus ahk_class #32770 IfWinActive, Atari800Win PLus ahk_class #32770
 { {
-SetControlDelay -1 +SetControlDelay -1;ControlClick, Button2, Atari800Win PLus ahk_class #32770; Click No 
-;ControlClick, Button2, Atari800Win PLus ahk_class #32770 ; Click No +PostMessage, 0x111, 7,,,Atari800Win PLus ahk_class #32770;Same as clicking No, but more reliable
-PostMessage, 0x111, 7,,,Atari800Win PLus ahk_class #32770 ;Same as clicking No, but more reliable+
 } }
 } }
- +
 WinWaitActive("Atari800Win PLus 4.1") WinWaitActive("Atari800Win PLus 4.1")
-  + 
-If (Fullscreen="true") ;CLI for fullscreen is broken so enable it through a PostMessage instead+If (Fullscreen="true");CLI for fullscreen is broken so enable it through a PostMessage instead
 { {
 PostMessage, 0x111, 32851,,,Atari800Win PLus 4.1 PostMessage, 0x111, 32851,,,Atari800Win PLus 4.1
Ligne 225: Ligne 193:
 } }
 BezelDraw() BezelDraw()
- +
 if (CassetteLoadingMethod="CLOAD+RUN") { if (CassetteLoadingMethod="CLOAD+RUN") {
 Sleep,1000 Sleep,1000
Ligne 233: Ligne 201:
 SendCommand("RUN{Enter}", 100) SendCommand("RUN{Enter}", 100)
 } }
- +
 SendCommand(Command, 1000) SendCommand(Command, 1000)
-  + ;check if emu crashed, if it did, just get out - can we log/display a message so user knows what happened?
-;check if emu crashed, if it did, just get out - can we log/display a message so user knows what happened?+
 Sleep, 5000 Sleep, 5000
 IfWinExist, Atari800Win PLus Monitor IfWinExist, Atari800Win PLus Monitor
 WinClose, Atari800Win PLus Monitor WinClose, Atari800Win PLus Monitor
- +
 FadeInExit() FadeInExit()
 Process("WaitClose", executable) Process("WaitClose", executable)
Ligne 246: Ligne 213:
 FadeOutExit() FadeOutExit()
 ExitModule() ExitModule()
- +
 MultiGame: MultiGame:
 Log("MultiGame Label was run!") Log("MultiGame Label was run!")
- +
 If romExtension in .atr If romExtension in .atr
-{ Send !1 ; swaps a Disk+{ Send !1; swaps a Disk
 wvTitle:="Select disk to insert into drive 1 ahk_class #32770" wvTitle:="Select disk to insert into drive 1 ahk_class #32770"
 } Else If romExtension in .cas } Else If romExtension in .cas
-{ Send !t ; swaps a Tape+{ Send !t; swaps a Tape
 wvTitle:="Select tape image to attach ahk_class #32770" wvTitle:="Select tape image to attach ahk_class #32770"
 } Else } Else
 ScriptError(romExtension . " is an invalid multi-game extension") ScriptError(romExtension . " is an invalid multi-game extension")
- +
 WinWait(wvTitle) WinWait(wvTitle)
 WinWaitActive(wvTitle) WinWaitActive(wvTitle)
Ligne 266: Ligne 233:
 WinActivate, Atari800Win PLus 4.1 WinActivate, Atari800Win PLus 4.1
 Return Return
- +
 CheckCreateFile(file){ CheckCreateFile(file){
 IfNotExist, %file% IfNotExist, %file%
Ligne 272: Ligne 239:
 Return file Return file
 } }
- +
 CloseProcess: CloseProcess:
 FadeOutStart() FadeOutStart()
 BezelExit() BezelExit()
-If (Fullscreen="true") ;If the process is closed on fullscreen then the emulator will always start to a black screen+If (Fullscreen="true");If the process is closed on fullscreen then the emulator will always start to a black screen
 { {
 PostMessage, 0x111, 32851,,,Atari800Win PLus 4.1 PostMessage, 0x111, 32851,,,Atari800Win PLus 4.1
Ligne 284: Ligne 251:
 Return Return
 </file> </file>
 +
  
 ==== Configuration ==== ==== Configuration ====
  
-Ajouter l'émulateur Atari 8-bit dans //RocketLauncher// :+Ajouter l'émulateur Atari800WinPlus dans //RocketLauncher// :
  
-  * Name : Atari 8-bit+  * Name : Atari800WinPlus
   * Path : ..\Emulators\Atari800WinPlus\Atari800Win.exe   * Path : ..\Emulators\Atari800WinPlus\Atari800Win.exe
   * Rom Extensions : bin|bas   * Rom Extensions : bin|bas
Ligne 297: Ligne 265:
  
 {{  :tutos:emulateurs:atari8bit_config.png?nolink&  }} {{  :tutos:emulateurs:atari8bit_config.png?nolink&  }}
 +
 +FIXME : mettre a jour l'image avec le changement de nom de configuration
  
 ===== Liens ===== ===== Liens =====
  
   * Site officiel : [[https://github.com/Jaskier/Atari800Win-PLus/downloads|https://github.com/Jaskier/Atari800Win-PLus/downloads]]   * Site officiel : [[https://github.com/Jaskier/Atari800Win-PLus/downloads|https://github.com/Jaskier/Atari800Win-PLus/downloads]]
tutos/software/emulateurs/atari800winplus.1486914932.txt.gz · Dernière modification: 2017/02/12 16:55 de stephco08