npc: split gdbstub api into seperate file

This commit is contained in:
xinyangli 2024-08-01 18:53:17 +08:00
parent fed4ac225d
commit 85d7840804
Signed by: xin
SSH key fingerprint: SHA256:qZ/tzd8lYRtUFSrfBDBMcUqV4GHKxqeqRA3huItgvbk
15 changed files with 287 additions and 270 deletions

View file

@ -49,11 +49,10 @@ int main(int argc, char **argv, char **env) {
while (true) {
nvboard_update();
cycle(top, [&] {
if (keycode != top->io_ps2_data){
if (keycode != top->io_ps2_data) {
keycode = top->io_ps2_data;
printf("%d\n", keycode);
}
});
});
}
delete top;
}
}