djvj icon

micro64 module

djvj | PRO | 11/19/15 01:25:41 AM UTC | 0 ⭐ | 635 👁️ | Never ⏰ | []
text |

3.38 KB

|

None

|

0 👍

/

0 👎

MEmu = Micro64
MEmuV =  v1.00.2013.05.11 Build 714
MURL = http://micro64.de/
MAuthor = djvj
MVersion = 1.0.0
MCRC = 
MID = 
MSystem = "Commodore 64"
;----------------------------------------------------------------------------
; Notes:
; Press F9 to edit the emu's settings
; Emu stores it's settings in C:\Users\USERNAME\AppData\Roaming\micro64
;----------------------------------------------------------------------------
StartModule()
BezelGUI()
FadeInStart()
 settingsFile := modulePath . "\" . moduleName . ".ini"
fullscreen := IniReadCheck(settingsFile, "Settings", "Fullscreen","true",,1)
 hideEmuObj := Object("[micro64] ahk_class SDL_app",1)	; Hide_Emu will hide these windows. 0 = will never unhide, 1 = will unhide later
7z(romPath, romName, romExtension, 7zExtractPath)
 BezelStart()
HideEmuStart()	; This fully ensures windows are completely hidden even faster than winwait
 fullscreenCLI := If fullscreen = "true" ? " +fullscreen" : " -fullscreen"
 Run(executable . " """ . romPath . "\" . romName . romExtension . """" . fullscreenCLI, emuPath)
 WinWait("[micro64] ahk_class SDL_app")
WinWaitActive("[micro64] ahk_class SDL_app")
 BezelDraw()
HideEmuEnd()
FadeInExit()
Process("WaitClose", executable)
7zCleanUp()
BezelExit()
FadeOutExit()
ExitModule()
  HaltEmu:
	If (fullscreen = "true")
		Send !{Enter}
Return
RestoreEmu:
	If (fullscreen = "true")
		Send !{Enter}
Return
 CloseProcess:
	FadeOutStart()
	WinClose("[micro64] ahk_class SDL_app")
Return
  ; Available CLI (for reference)
; [filename] = Load file from filename 
; /regext = Register file extentions into the system
; +sdlaudio = Force SDL/SDL2 audio
; +directsound = Force DirectX/DirectSound audio 
; -mouse = Disable mouse
; +mouse = Enable mouse
; -opengl = Disable OpenGL
; +opengl = Enable OpenGL
; -fullscreen = Disable full screen
; +fullscreen = Enable full screen
; -pal = Force disable PAL emulation
; -singletask = Allow multithreading on multiple CPU cores
; +singletask = Disallow multithreading on multiple CPU cores
; -sleep = Disable sleep hack
; +sleep = Enable sleep hack
; -stablespeedhack = Disable stable speed hack
; +stablespeedhack = Enable stable speed hack
; -extrastablespeedhack = Disable extra stable speed hack
; +extrastablespeedhack = Enable extra stable speed hack
; -cpusim = Enable CPU emulation 
; +cpusim = Enable original 6502/6510 chip-DIE CPU switch-level simulation (damn ssssllloooowwww!) 
; +logcycles[=x] = log cycles (from at cycle number x)
; +extops = extended opcodes
; +audiowav[=x] = write WAV (to file X)
; +hardsid[=x] = Use HardSID (with device ID x)
; +catweaselmk3[=x] = Use Catweasel MK3 (with device ID x)
; +parsid[=x] = Use ParSID (with device ID x)
; +numdrives=x = Set count of active 1541 drives
; +newd64 [filename.d64]
; +g642d64 [input.g64] [output.d64]
; +d642g64 [input.d64] [output.g64]
; +g642p64 [input.g64] [output.p64]
; +p642g64 [input.p64] [output.g64]
; +fdi2p64 [input.fdi] [output.p64]
; +p642fdi [input.p64] [output.fdi]
; +nib2g64 [input.nib] [output.g64]
; +dumpfdi [input.fdi] [output.log]
; +dumpp64 [input.p64] [output.log]
; +dumpp64halftrack [input.p64] [output.log] ([halftrack])
; +kryofluxstream2p64 [inputpathprefix] [output.p64] ([side(0/1)]) ([rpm(180-360)]) ([doublewidetrack(0/1)])
; +kryofluxstream2fdi [inputpathprefix] [output.fdi] ([side(0/1)]) ([rpm(180-360)]) ([doublewidetrack(0/1)])

Comments