From b3bc8ac66ca8cf2de581924ace1be3962bf58cd5 Mon Sep 17 00:00:00 2001 From: jimmystones Date: Sat, 3 Jul 2021 22:25:21 +0100 Subject: [PATCH] Readme and comment updates --- InputTest.sv | 4 ++-- README.MD | 18 ++++++++++++++---- rtl/dpram.v | 4 ++-- rtl/spram.v | 4 ++-- rtl/system.v | 4 ++-- src/os.c | 6 ++---- src/ps2.c | 4 ++-- src/sys.c | 4 ++-- src/ui.c | 4 ++-- 9 files changed, 30 insertions(+), 22 deletions(-) diff --git a/InputTest.sv b/InputTest.sv index 4ec9c56..efc973a 100644 --- a/InputTest.sv +++ b/InputTest.sv @@ -2,8 +2,8 @@ MiSTer test harness - emu module Author: Jim Gregory - https://github.com/JimmyStones/ - Version: 0.1 - Date: 2021-06-29 + Version: 1.0 + Date: 2021-07-03 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free diff --git a/README.MD b/README.MD index ad241a2..39b8a9c 100644 --- a/README.MD +++ b/README.MD @@ -2,7 +2,19 @@ ## Overview -A custom mini-system running an input test utility. Shows all standard HPS sourced inputs (joystick, analog, paddle, spinner) simultaneously as well as a ps2 keyboard console. +A custom mini-system running an input test utility. 3 test screens available: + - Digital - shows joypad buttons for first two input devices + - Analog - shows analog axes for first two input devices + - Advanced - shows all standard HPS sourced inputs (joystick, analog, paddle, spinner) simultaneously as well as a ps2 keyboard console + +Mode switching instructions are shown at the bottom of the screen. + +## Acknowledgements + +Thanks to: +- alanswx (https://github.com/alanswx) for ideas, cross-platform support, and the tutorial this core was based on +- Jotego (https://github.com/jotego) for his very tidy JTFRAME modules +- Porkchop Express (https://misteraddons.com/) for testing a bunch of devices I couldn't ## Hardware @@ -44,9 +56,7 @@ Start|End|Length|Name ## Software -/src contains a C program compiled to Z80 assembly using sdcc. It reads and displays all available input values once every vblank, and has a ps2 keyboard console. It also does some other things ;) - -*Currently there is no ps2 mouse support* +/src contains a C program compiled to Z80 assembly using sdcc. All required ROMs (compiled program and default MiSTer font) are built into this core. diff --git a/rtl/dpram.v b/rtl/dpram.v index 4a3b6c9..a155273 100644 --- a/rtl/dpram.v +++ b/rtl/dpram.v @@ -2,8 +2,8 @@ Generic dual-port RAM module Author: Jim Gregory - https://github.com/JimmyStones/ - Version: 0.1 - Date: 2021-06-29 + Version: 1.0 + Date: 2021-07-03 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free diff --git a/rtl/spram.v b/rtl/spram.v index 9c87f20..c37bed8 100644 --- a/rtl/spram.v +++ b/rtl/spram.v @@ -2,8 +2,8 @@ Generic single-port RAM module Author: Jim Gregory - https://github.com/JimmyStones/ - Version: 0.1 - Date: 2021-06-29 + Version: 1.0 + Date: 2021-07-03 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free diff --git a/rtl/system.v b/rtl/system.v index 5800e7d..1aee1d8 100644 --- a/rtl/system.v +++ b/rtl/system.v @@ -3,8 +3,8 @@ MiSTer test harness - System module Author: Jim Gregory - https://github.com/JimmyStones/ - Version: 0.1 - Date: 2021-06-29 + Version: 1.0 + Date: 2021-07-03 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free diff --git a/src/os.c b/src/os.c index 7501867..1e92d36 100644 --- a/src/os.c +++ b/src/os.c @@ -2,8 +2,8 @@ MiSTer test harness OS - Main application Author: Jim Gregory - https://github.com/JimmyStones/ - Version: 0.1 - Date: 2021-06-29 + Version: 1.0 + Date: 2021-07-03 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free @@ -524,8 +524,6 @@ void inputtester_analog() write_stringfs("%4d", 0xFF, analog_offset_x[j], analog_offset_y[j] + analog_size + 1, ax); write_stringfs("%4d", 0xFF, analog_offset_x[j] + 5, analog_offset_y[j] + analog_size + 1, ay); - write_stringfs("%4d", 0xFF, analog_offset_x[j], analog_offset_y[j] + analog_size + 2, analog_x[j]); - write_stringfs("%4d", 0xFF, analog_offset_x[j] + 5, analog_offset_y[j] + analog_size + 2, analog_y[j]); } } } diff --git a/src/ps2.c b/src/ps2.c index cd2867c..6ed9312 100644 --- a/src/ps2.c +++ b/src/ps2.c @@ -2,8 +2,8 @@ MiSTer test harness OS - PS/2 interface functions Author: Jim Gregory - https://github.com/JimmyStones/ - Version: 0.1 - Date: 2021-06-29 + Version: 1.0 + Date: 2021-07-03 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free diff --git a/src/sys.c b/src/sys.c index 8b69dc8..1b710c1 100644 --- a/src/sys.c +++ b/src/sys.c @@ -2,8 +2,8 @@ MiSTer test harness OS - System interface functions Author: Jim Gregory - https://github.com/JimmyStones/ - Version: 0.1 - Date: 2021-06-29 + Version: 1.0 + Date: 2021-07-03 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free diff --git a/src/ui.c b/src/ui.c index ad5df5d..b5aeff2 100644 --- a/src/ui.c +++ b/src/ui.c @@ -2,8 +2,8 @@ MiSTer test harness OS - User interface functions Author: Jim Gregory - https://github.com/JimmyStones/ - Version: 0.1 - Date: 2021-06-29 + Version: 1.0 + Date: 2021-07-03 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free