Outils pour utilisateurs

Outils du site


tutos:software:systemes:acornbbcmicro

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:systemes:acornbbcmicro [2017/01/09 18:15]
himura95
tutos:software:systemes:acornbbcmicro [2017/02/14 11:16] (Version actuelle)
thesalan
Ligne 1: Ligne 1:
-====== Ajout du système ACORN BBC MICRO ======+====== Ajout du système Acorn BBC Micro ======
  
-Auteur : **[[http://forum.hfsplay.fr/membre2.html|micaelo14]]**+===== Présentation =====
  
-===== Acorn BBC Micro =====+{{  :tutos:bbc_micro_acorn_system.png?nolink&  }}
  
-Prendre la version 4.14 de l'émulateur BeebEm+Acorn est une entreprise britannique qui a construit des micro-ordinateurs de 1978 jusqu'à 2000. Elle est devenue célèbre dans les années 1980 avec son best-seller, le BBC Micro, qui devint l'un des micro-ordinateurs les plus vendus du Royaume-Uni.
  
-Nous utiliserons ce module :+Créés pour une utilisation pédagogique, les ordinateurs de la gamme BBC Micro sont réputés pour leur modularité et la qualité de leurs systèmes d'exploitation.
  
-<Code> MEmu BeebEm MEmuV v4.14 MURL [[http://www.mkw.me.uk/beebem/index.html|http://www.mkw.me.uk/beebem/index.html]] MAuthor brolly MVersion 1.0.5 MCRC 8C0B0650 iCRC 8E9F265F mId 635599773229077671 MSystem "Acorn BBC Micro" ;—————————————————————————- ; Notes: ; Start BeebEm and go to Options-Preference Options-Select User Data Folder ; Make sure you set your user data folder to Emulator_Path\UserData ; ; Supported Models: ; BBC Model B ; BBC Model B + Integra-B ; BBC Model B Plus ; BBC Master 128 ; ; To list the contents of a disk drive so you can find the executable file type: ; *DISK (or *DR.0 or *DR.1 depending on the drive you want to use) ; *CAT ; ;—————————————————————————- StartModule() BezelGUI() FadeInStart()+===== Emulateurs compatibles =====
  
-settingsFile := modulePath . "\" . moduleName . ".ini" configFile := emuPath . "\UserData\Preferences.cfg"+  * [[tutos:software:emulateurs:beebem|BeebEm]]
  
-Fullscreen :IniReadCheck(settingsFile, "Settings", "Fullscreen","true",,1) ShowFPS :IniReadCheck(settingsFile, "Settings", "ShowFPS","00",,1) EmulatedDriveSounds :IniReadCheck(settingsFile, "Settings", "EmulatedDriveSounds","00",,1) Model :IniReadCheck(settingsFile, "Settings" . "|" . romName, "Model","0",,1) TapeSpeed :IniReadCheck(settingsFile, "Settings" . "|" . romName, "TapeSpeed","ee02",,1) SetTube :IniReadCheck(settingsFile, "Settings" . "|" . romName, "SetTube","false",,1) WriteProtectDrives :IniReadCheck(settingsFile, "Settings" . "|" . romName, "WriteProtectDrives","true",,1) ChainCommand :IniReadCheck(settingsFile, romName, "ChainCommand",_ckgedit_QUOT__ckgedit>,,1) RunCommand :IniReadCheck(settingsFile, romName, "RunCommand",_ckgedit_QUOT__ckgedit>,,1) CustomCommand :IniReadCheck(settingsFile, romName, "CustomCommand",_ckgedit_QUOT__ckgedit>,,1) TapeLoadingMethod := IniReadCheck(settingsFile, romName, "TapeLoadingMethod","CHAIN",,1) RomCfgFile := IniReadCheck(settingsFile, romName, "RomCfgFile",_ckgedit_QUOT__ckgedit>,,1) AutobootDisk := IniReadCheck(settingsFile, romName, "AutobootDisk","true",,1) MultipleDiskDrive := IniReadCheck(settingsFile, romName, "MultipleDiskDrive","0",,1)+===== Installation sous RocketLauncher =====
  
-StringUpper RunCommandRunCommand+Pour ce tutorielle système Acorn BBC Micro a été validé avec la version **4.14** de l'émulateur [[tutos:software:emulateurs:beebem|BeebEm]] et la version **1.0.5** du module //BeebEm//. Des versions plus récentes peuvent être disponible via //RocketLauncherUI//.
  
-If (RomCfgFile) { RomCfgFile :CheckFile(emuPath . "\UserData\" . RomCfgFile) }+==== Installation de l'émulateur ====
  
-hideEmuObj := Object("ahk_class BEEBWIN",1) ; Hide_Emu will hide these windows. 0 = will never unhide, 1 = will unhide later 7z(romPath, romName, romExtension, 7zExtractPath)+{{page>tutos:software:emulateurs:beebem#installation&nofooter&noheader}}
  
-If romExtension not in .ssd,.dsd,.adl,.adf,.img,.uef ScriptError("The extension " . romExtension . " is not one of the known supported extensions for this emulator.")+==== Module ====
  
-If !FileExist(configFile) ScriptError("Preferences.cfg was not found at " . configFile)+{{page>tutos:software:emulateurs:beebem#module&nofooter&noheader}}
  
-If Model not in 0,1,2,3 ScriptError("Model " . Model . " is not one of the known supported systems for this module: " . moduleName . ". Please use the option to configure the type of system needed through RocketLauncherUI.")+==== Configuration ====
  
-configIni := LoadProperties(configFile) ; load the config into memory SetTube := If SetTube = "true" ? "01" "00" ShowFPS := If ShowFPS = "true" ? "01" : "00" EmulatedDriveSounds := If EmulatedDriveSounds = "true" ? "01" : "00" Params := Params . "-Data - -DisMenu "+{{page>tutos:software:emulateurs:beebem#configuration&nofooter&noheader}}
  
-If ( romExtension ".uef" ) { ;Tape If (TapeLoadingMethod "RUN") { Params :Params . " -KbdCmd _ckgedit_QUOT__ckgedit>OSCLI\s2\STAPE\s2\S\nOSCLI\s2\SRUN\s2\S\n_ckgedit_QUOT__ckgedit> " } Else { Params :Params . " -KbdCmd _ckgedit_QUOT__ckgedit>OSCLI\s2\STAPE\s2\S\nPAGE\s-\S\s6\SE00\nCH.\s22\S\n_ckgedit_QUOT__ckgedit> " } ;Alternatives ;Params :Params . " -KbdCmd _ckgedit_QUOT__ckgedit>OSCLI\s2\STAPE\s2\S\nOSCLI\s2\SRUN\s2\S\n_ckgedit_QUOT__ckgedit> " ;Params :Params . " -KbdCmd _ckgedit_QUOT__ckgedit>\s'\STAPE\nPAGE\s-\S\s6\SE00\nCHAIN \s22\S\n_ckgedit_QUOT__ckgedit> " ;Params :Params . " -KbdCmd _ckgedit_QUOT__ckgedit>\s'\STAPE\n\s'\SRUN\n_ckgedit_QUOT__ckgedit> " } Else { ;Disk If (ChainCommand) { Params :Params . " -KbdCmd _ckgedit_QUOT__ckgedit_QUOT__ckgedit> . (If Model = "3" ? "\d0600\S\d0040" : _ckgedit_QUOT__ckgedit>) . "CH.\s2\S" . ChainCommand . "\s2\S\n_ckgedit_QUOT__ckgedit> " ;Loading the Master 128 OS takes longer so we need to simulate a delay before starting to send the commands otherwise not all of it will get through. Then revert it back to the default value of 40ms. } Else If (RunCommand) { Params := Params . " -KbdCmd _ckgedit_QUOT__ckgedit_QUOT__ckgedit> . (If Model = "3" ? "\d0600\S\d0040" : _ckgedit_QUOT__ckgedit>) . "OSCLI\s2\SRUN " . RunCommand . "\s2\S\n_ckgedit_QUOT__ckgedit> " ;Loading the Master 128 OS takes longer so we need to simulate a delay before starting to send the commands otherwise not all of it will get through. Then revert it back to the default value of 40ms. } Else If (CustomCommand) { Params := Params . " -KbdCmd _ckgedit_QUOT__ckgedit_QUOT__ckgedit> . (If Model = "3" ? "\d0600\S\d0040" : _ckgedit_QUOT__ckgedit>) . CustomCommand . "\n_ckgedit_QUOT__ckgedit> " ;Loading the Master 128 OS takes longer so we need to simulate a delay before starting to send the commands otherwise not all of it will get through. Then revert it back to the default value of 40ms. } If (AutobootDisk = "false") { Params := Params . " -NoAutoBoot " } } If (RomCfgFile) { Params := Params . " -Roms _ckgedit_QUOT__ckgedit_QUOT__ckgedit> . RomCfgFile . _ckgedit_QUOT__ckgedit_QUOT__ckgedit_QUOT__ckgedit> } Params := Params . " _ckgedit_QUOT__ckgedit_QUOT__ckgedit> . romPath . "\" . romName . romExtension . _ckgedit_QUOT__ckgedit_QUOT__ckgedit_QUOT__ckgedit>+==== Ajout du système ====
  
-;MultiGame support for disk games (load both disks in the 2 drives) If ( romExtension != ".uef" ) { RomTableCheck() ; make sure romTable is created already so the next line can calculate correctly romCount = % romTable.MaxIndex() If romName contains (Disk 1) { If romCount > 1 { Params := Params . " _ckgedit_QUOT__ckgedit_QUOT__ckgedit> . romTable[2,1] . _ckgedit_QUOT__ckgedit_QUOT__ckgedit_QUOT__ckgedit> } } } ;Set the properties in the preferences.cfg file ;Yes, ShowFSP is not a typo on our side. The BeebEm emulator authors made this typo so we have to use it. WriteProperty(configIni,"ShowFSP", ShowFPS) WriteProperty(configIni,"DiscDriveSoundEnabled", EmulatedDriveSounds) WriteProperty(configIni,"RelaySoundEnabled", EmulatedDriveSounds) WriteProperty(configIni,"TapeSoundEnabled", EmulatedDriveSounds) WriteProperty(configIni,"MachineType", "0" . Model) WriteProperty(configIni,"KeyMapping", "00009c62") WriteProperty(configIni,"TubeEnabled", SetTube) WriteProperty(configIni,"Tape Clock Speed", TapeSpeed) SaveProperties(configFile,configIni) ; save changes to Preferences.cfg BezelStart() Fullscreen := If Fullscreen = "true" ? "-FullScreen " : _ckgedit_QUOT__ckgedit>+Il ne vous reste désormais plus qu'à ajouter le système dans Rocket Launcher :
  
-HideEmuStart() +  * Etape //Choose System Name//  
- +      * Name //Acorn BBC Micro// 
-Run(executable . " " . Fullscreen . Params, emuPath) +  * Etape //Select Emulator//  
- +      * Cliquez sur la loupe et sélectionnez //Acorn BBC Micro// 
-WinActivate, ahk_class BEEBWIN WinWaitActive("ahk_class BEEBWIN"+      * Cochez //Add Emulator to System instead of Global// 
- +  * Etape //Select Rom Path(s)//  : 
-If (WriteProtectDrives = "false") { PostMessage, 0x111, 40064,,,ahk_class BEEBWIN PostMessage, 0x111, 40065,,,ahk_class BEEBWIN } +      * Cliquez sur le bouton //+//  et sélectionnez le dossier de vos roms 
- +  * Etape //Database Creation//  
-If bezelPath { WinGetPos,,, initialwidth,, ahk_class BEEBWIN W:= timeout := A_TickCount Loop { Sleep, 50 WinGetPos,,, W,, ahk_class BEEBWIN If (W != initialwidth) Break If(timeout < A_TickCount - 2000) Break } } Sleep, 50 +      * Choisissez l'action que vous désirez concernant la base de données des jeux 
- +  * Etape //Overview//  
-BezelDraw() HideEmuEnd() FadeInExit() Process("WaitClose", executable) 7zCleanUp() BezelExit() FadeOutExit() ExitModule() +      * Vérifiez la configuration et cliquez sur //Finish//
- +
-HaltEmuReturn RestoreEmu: Return +
- +
-MultiGameIf ( romExtension = ".uef" ) Control := "40108" Else Control := If MultipleDiskDrive = "1" ? "40023" : "40002" +
- +
-PostMessage, 0x111, %Control%,,, ahk_class BEEBWIN OpenROM("ahk_class #32770", selectedRom) Return +
- +
-CloseProcess: FadeOutStart() WinClose("ahk_class BEEBWIN") Return </code> +
- +
-Pour RL le paramétrer ainsi +
- +
-{{  :tutos:rocketlauncher:acorn_bbc_micro.png?nolink&  }}+
  
 +===== Liens =====
  
 +  * Tutoriel d'installation original : [[http://forum.hfsplay.fr/tutos-pour-rocketlauncher-f26/acorn-bbc-micro-t10252.html|http://forum.hfsplay.fr/tutos-pour-rocketlauncher-f26/acorn-bbc-micro-t10252.html]] (Merci à [[http://forum.hfsplay.fr/membre2.html|micaelo14]])
tutos/software/systemes/acornbbcmicro.1483982109.txt.gz · Dernière modification: 2017/01/09 18:15 de himura95