;***********************
;*    M.A.M.E. v191    *
;*   Einstein TC-01    *
;*   Script by .mad.   *
;*    November 2018    *
;***********************

; Re-Compiled version of Einstein MAME x64 v191
; !! Without the updated floppy emulation and Joystick support. !!
; reason: Auto booting .XBS files, fails in MAME v192+.

; * Use this emulator ONLY for auto booting .XBS and multi part files (usually BASIC).
; When or if MAME gets fixed this can be deleted.

;===================================================================================
; Please use the other emulator for Joystick support and Loading .COM / DSK images.
;===================================================================================

;You must set the MAME keyboard to NATURAL mode ( -nat) for GameBase sendkeys to work.
;Once the game has loaded you MUST change the keyboard back to EMULATED mode manually.
; Press [END] to enable the UI, press [TAB] to open the Menu.

;a few game disks have copy protection, these disks do not work in this XBS MAME.
;Some work in MAME 202+, others require a REAL machine.

;If Key_run CONTAINS(*)
; ;only if the .XBS file needs to loaded manually.
; Add_CLP(einstein -nat -window -floppydisk1 "%gamepathfile%" -skip_gameinfo -nowaitvsync)
; Run_Emulator_Send_Keys([7]xbas{enter}[4]run"%run_value%"{ENTER}||80)
;
;ElseIf Key_load CONTAINS(*)
; ;only if the .COM file needs to loaded manually with sendkeys.
; Add_CLP(einstein -nat -window -floppydisk1 "%gamepathfile%" -skip_gameinfo -nowaitvsync)
; Run_Emulator_Send_Keys([7]%load_value%{ENTER}||80)
;
;Else
;Assumes the disk has beed edited for Auto-loading. (Emulated Keyboard mode). ;)
Add_CLP(einstein -window -floppydisk1 %gamepathfile% -skip_gameinfo -nowaitvsync)
Run_Emulator()

;End If

