Skip to content

Commit

Permalink
feat(winuae): addition of winuae config
Browse files Browse the repository at this point in the history
  • Loading branch information
prb28 committed Jan 2, 2021
1 parent 0954dbf commit 26834f7
Show file tree
Hide file tree
Showing 6 changed files with 45 additions and 19 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@
## This will handle all files NOT defined below.
* text=auto

startup-sequence text eol=lf
Startup-Sequence text eol=lf
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
build
fs-uae/hd0/gencop
uae/dh0/gencop
.DS_Store
bin
56 changes: 41 additions & 15 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,15 @@
"version": "0.2.0",
"configurations": [
{
"type": "fs-uae-run",
"type": "fs-uae",
"request": "launch",
"name": "Run",
"name": "FS-UAE Debug",
"stopOnEntry": false,
"serverName": "localhost",
"serverPort": 6860,
"trace": false,
"startEmulator": true,
"buildWorkspace": true,
"emulator": "${workspaceFolder}/bin/fs-uae",
"windows": {
"emulator": "${workspaceFolder}/bin/fs-uae.exe",
},
Expand All @@ -17,24 +21,50 @@
"emulator": "${workspaceFolder}/bin/fs-uae",
},
"emulatorWorkingDir": "${workspaceFolder}/bin",
"program": "${workspaceFolder}/uae/dh0/gencop",
"options": [
"--chip_memory=1024",
"--hard_drive_0=${workspaceFolder}/fs-uae/hd0",
"--hard_drive_0=${workspaceFolder}/uae/dh0",
"--joystick_port_1=none",
"--amiga_model=A1200",
"--slow_memory=1792"
"--slow_memory=1792",
"--remote_debugger=200",
"--use_remote_debugger=true",
"--automatic_input_grab=0"
]
},
{
"type": "fs-uae",
"type": "winuae",
"request": "launch",
"name": "Debug",
"name": "WinUAE Debug",
"buildWorkspace": true,
"stopOnEntry": false,
"serverName": "localhost",
"serverPort": 6860,
"trace": false,
"serverPort": 2345,
"startEmulator": true,
"trace": false,
"exceptionMask": 8188,
"emulatorStartDelay": 1500,
"emulator": "${workspaceFolder}/bin/winuae.exe",
"emulatorWorkingDir": "${workspaceFolder}/bin",
"program": "${workspaceFolder}/uae/dh0/gencop",
"options": [
"-s",
"quickstart=a500,1",
"-s",
"filesystem=rw,dh0:${workspaceFolder}\\uae\\dh0",
"-s",
"debugging_trigger=SYS:gencop",
"-s",
"debugging_features=gdbserver"
]
},
{
"type": "fs-uae-run",
"request": "launch",
"name": "FS-UAE Run",
"buildWorkspace": true,
"emulator": "${workspaceFolder}/bin/fs-uae",
"windows": {
"emulator": "${workspaceFolder}/bin/fs-uae.exe",
},
Expand All @@ -45,16 +75,12 @@
"emulator": "${workspaceFolder}/bin/fs-uae",
},
"emulatorWorkingDir": "${workspaceFolder}/bin",
"program": "${workspaceFolder}/fs-uae/hd0/gencop",
"options": [
"--chip_memory=1024",
"--hard_drive_0=${workspaceFolder}/fs-uae/hd0",
"--hard_drive_0=${workspaceFolder}/uae/dh0",
"--joystick_port_1=none",
"--amiga_model=A1200",
"--slow_memory=1792",
"--remote_debugger=200",
"--use_remote_debugger=true",
"--automatic_input_grab=0"
"--slow_memory=1792"
]
}
]
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
sys:gencop

; Quits the emulator at the end of the program
UAEquit
4 changes: 2 additions & 2 deletions vscode-amiga-wks-example.code-workspace
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@
"file": "bin/vlink",
"includes": "*.s",
"excludes": "",
"exefilename": "../fs-uae/hd0/gencop",
"exefilename": "../uae/dh0/gencop",
"options": [
"-bamigahunk",
"-Bstatic"
]
},
"amiga-assembly.adfgenerator": {
"ADFToolsParentDir": "bin",
"sourceRootDir": "fs-uae/hd0",
"sourceRootDir": "uae/dh0",
"outputADFFile": "./build/disk.adf",
"includes": "**/*",
"excludes": "**/.*"
Expand Down

0 comments on commit 26834f7

Please sign in to comment.