From d92cfb75f89b073509330541e1716d24d819d0ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aitor=20G=C3=B3mez?= Date: Thu, 25 Aug 2022 05:57:03 +0200 Subject: [PATCH] Cleanup initialization PCXT It is no longer necessary to resort to loading predefined ROMs, but now FC0 and FC1 are used to load ROMs. --- support/pcxt/pcxt.cpp | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/support/pcxt/pcxt.cpp b/support/pcxt/pcxt.cpp index 343dd85..6574cf4 100644 --- a/support/pcxt/pcxt.cpp +++ b/support/pcxt/pcxt.cpp @@ -43,20 +43,6 @@ static pcxt_config config; void pcxt_init() { user_io_status_set("[0]", 1); - const char* home = HomeDir(); - static char mainpath[512]; - - int status = user_io_status_get("[3]"); - if (status) - { - sprintf(mainpath, "%s/tandy.rom", home); - } - else - { - sprintf(mainpath, "%s/pcxt.rom", home); - } - - user_io_file_tx(mainpath); } void* OpenUART(void*) {