Updated Help and Preamble message

This commit is contained in:
0xmac 2025-01-30 09:17:50 +01:00
parent c824ad0989
commit 3a7dc09389

View File

@ -10,24 +10,28 @@
#define ROMLOC 0xC000 /* ROM Page Location */ #define ROMLOC 0xC000 /* ROM Page Location */
#define BACKCOLOR sfBlack #define BACKCOLOR sfBlack
#define SCREEN_WIDTH 768 #define SDL_X_SIZE 384
#define SCREEN_HEIGHT 512 #define SDL_Y_SIZE 256
#define SDL_X_SIZE 768
#define SDL_Y_SIZE 512
#define PREAMBLE "LS7 Emulator by Gabriel Weingardt.\nLicense: GPL v.3+\n\n" #define PREAMBLE "LS7 Emulator by Gabriel Weingardt.\n\
License: GPL v.3+\n\
See: https://git.weingardt.dev/0xmac/LS7-Emulator\n\n"
#define HELP "Usage: LS7Emulator [options] ... [file]\n\n\ #define HELP "Usage: LS7Emulator [options] ... [file]\n\n\
Options: Type Default Desc\n\ Options: Type Default Desc\n\
--help Show this menu\n\ --help Show this menu\n\
--help-keys Show emulator key functions\n\ --help-keys Show emulator key functions\n\
--cpuspeed [int] 100000 CPU Speed given in Herz. KHz and MHz annotations like 1KHz are supported\n\ --resizeable Make the window resizable\n\
--scale [float] 2.0 Set the starting scale of the video output\n\
--singlestep Enable singlestepping with the 'F8' key\n\ --singlestep Enable singlestepping with the 'F8' key\n\
--reload-program Reload the binary file when CPU is reset\n\
--randomize Randomize Computer and video RAM on reset\n\
\n\
--cpuspeed [int] 1MHz CPU Speed given in Herz. KHz and MHz formats like 1KHz are supported\n\
--scale [float] 1 Set the starting scale of the video output\n\
--clocksteps [int] 1 Set the clock cycles cycled by a singlestep\n\ --clocksteps [int] 1 Set the clock cycles cycled by a singlestep\n\
--snapshot [string] Import a CPU snapshot\n\ --snapshot [string] Import a CPU snapshot\n\
--fps [float] 30 Set the SDL FPS rate\n\ --fps [float] 30 Set the SDL FPS rate\n\
--enable-reload Reload the binary file when CPU is reset\n\ --script [string] Execute a script when CPU is being reset (helpful for development)\n\
\n" \n"
#define HELPKEYS "\ #define HELPKEYS "\