diff --git a/compile.sh b/compile.sh deleted file mode 100755 index c8c0fcc..0000000 --- a/compile.sh +++ /dev/null @@ -1 +0,0 @@ -avr-gcc $1 -Wall -Wextra -mtiny-stack -c -o- -S -O3 -I ~/avr-libstdcpp/include/ -std=c++20 | tee $1.asm | ./avr-to-6502 | tee $1.asm && xa -O PETSCREEN -M $1.prg diff --git a/make_file.sh b/make_file.sh deleted file mode 100755 index 51dc770..0000000 --- a/make_file.sh +++ /dev/null @@ -1,7 +0,0 @@ -#! /bin/bash - -~/llvm-build/bin/clang++ -std=c++1z -c -O3 -o- -Wall -Wextra -m32 -march=i386 -ggdb -S $1 > $1.x86.asm -cat $1.x86.asm | ~/x86-to-6502-build/x86-to-6502 > $1.6502.asm -cat $1.6502.asm | sed -e "/^\t\..*$/d" > $1.asm -~/Downloads/TMPx_v1.1.0-STYLE/linux-x86_64/tmpx $1.asm - diff --git a/test/tests.cpp b/test/tests.cpp index 2bf852a..e6fbfc2 100644 --- a/test/tests.cpp +++ b/test/tests.cpp @@ -65,10 +65,10 @@ std::vector execute_c64_program(const std::string_view &name, std::ofstream vice_script(vice_script_filename); vice_script << fmt::format( R"( -z 100000 +until e5d1 l "{}" 0 keybuf run\n -z 100000 +until e147 bsave "{}" 0 {:x} {:x} quit )", @@ -174,9 +174,9 @@ int main() *reinterpret_cast(i) = 32; } - while (true) { +// while (true) { // don't allow main to exit, otherwise we get READY. on the screen - } +// } } )"; @@ -221,9 +221,9 @@ int main() } } - while (true) { +// while (true) { // don't allow main to exit, otherwise we get READY. on the screen - } +// } } )";