Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improvements and bug fixes #47

Merged
merged 7 commits into from
Aug 30, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Add expansion port console output
  • Loading branch information
sam-astro committed Aug 29, 2022
commit 675bc81e03481eb3efe6ec804f78919b0517d41d
Binary file modified Astro8-Emulator/.vs/Astro8-Emulator/v17/.suo
Binary file not shown.
Binary file modified Astro8-Emulator/.vs/Astro8-Emulator/v17/Preview/Browse.VC.db
Binary file not shown.
3 changes: 2 additions & 1 deletion Astro8-Emulator/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -573,7 +573,7 @@ int main(int argc, char** argv)
// Keyboard support
expansionPort = ConvertAsciiToSdcii((int)(event.key.keysym.scancode));

cout << "\n expansionPort: " << expansionPort;
cout << "\n expansionPort: " << expansionPort << endl;
}
else if (event.type == SDL_KEYUP) {

Expand Down Expand Up @@ -808,6 +808,7 @@ void Update()
break;
case WRITE_WE:
expansionPort = bus;
PrintColored("\nProgram expansion port output: "+to_string(expansionPort)+"\n", brightBlueFGColor, "");
break;
}

Expand Down
Binary file modified Astro8-Emulator/x64/Release/Astro8-Emulator.exe
Binary file not shown.
Binary file modified Astro8-Emulator/x64/Release/Astro8-Emulator.iobj
Binary file not shown.
Binary file modified Astro8-Emulator/x64/Release/Astro8-Emulator.ipdb
Binary file not shown.
21 changes: 11 additions & 10 deletions Astro8-Emulator/x64/Release/Astro8-Emulator.log
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,17 @@ D:\Code\Astro8-Computer\Astro8-Emulator\main.cpp(626,24): warning C5051: attribu
D:\Code\Astro8-Computer\Astro8-Emulator\main.cpp(644,10): warning C4244: '=': conversion from 'uint64_t' to 'int', possible loss of data
D:\Code\Astro8-Computer\Astro8-Emulator\main.cpp(656,32): warning C5051: attribute 'unlikely' requires at least '/std:c++20'; ignored
D:\Code\Astro8-Computer\Astro8-Emulator\main.cpp(787,5): warning C5051: attribute 'likely' requires at least '/std:c++20'; ignored
D:\Code\Astro8-Computer\Astro8-Emulator\main.cpp(816,32): warning C5051: attribute 'unlikely' requires at least '/std:c++20'; ignored
D:\Code\Astro8-Computer\Astro8-Emulator\main.cpp(930,45): warning C4244: 'argument': conversion from 'int' to 'float', possible loss of data
D:\Code\Astro8-Computer\Astro8-Emulator\main.cpp(930,32): warning C4244: 'argument': conversion from 'int' to 'float', possible loss of data
D:\Code\Astro8-Computer\Astro8-Emulator\main.cpp(1213,42): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
D:\Code\Astro8-Computer\Astro8-Emulator\main.cpp(1544,28): warning C4244: '+=': conversion from 'double' to 'unsigned long', possible loss of data
D:\Code\Astro8-Computer\Astro8-Emulator\main.cpp(1547,28): warning C4244: '+=': conversion from 'double' to 'unsigned long', possible loss of data
D:\Code\Astro8-Computer\Astro8-Emulator\main.cpp(1550,28): warning C4244: '+=': conversion from 'double' to 'unsigned long', possible loss of data
D:\Code\Astro8-Computer\Astro8-Emulator\main.cpp(1755,32): warning C4267: 'return': conversion from 'size_t' to 'int', possible loss of data
D:\Code\Astro8-Computer\Astro8-Emulator\main.cpp(817,32): warning C5051: attribute 'unlikely' requires at least '/std:c++20'; ignored
D:\Code\Astro8-Computer\Astro8-Emulator\main.cpp(931,45): warning C4244: 'argument': conversion from 'int' to 'float', possible loss of data
D:\Code\Astro8-Computer\Astro8-Emulator\main.cpp(931,32): warning C4244: 'argument': conversion from 'int' to 'float', possible loss of data
D:\Code\Astro8-Computer\Astro8-Emulator\main.cpp(1214,42): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
D:\Code\Astro8-Computer\Astro8-Emulator\main.cpp(1545,28): warning C4244: '+=': conversion from 'double' to 'unsigned long', possible loss of data
D:\Code\Astro8-Computer\Astro8-Emulator\main.cpp(1548,28): warning C4244: '+=': conversion from 'double' to 'unsigned long', possible loss of data
D:\Code\Astro8-Computer\Astro8-Emulator\main.cpp(1551,28): warning C4244: '+=': conversion from 'double' to 'unsigned long', possible loss of data
D:\Code\Astro8-Computer\Astro8-Emulator\main.cpp(1756,32): warning C4267: 'return': conversion from 'size_t' to 'int', possible loss of data
Generating code
Previous IPDB and IOBJ mismatch, fall back to full compilation.
All 1088 functions were compiled because no usable IPDB/IOBJ from previous compilation was found.
3 of 1088 functions ( 0.3%) were compiled, the rest were copied from previous compilation.
0 functions were new in current compilation
6 functions had inline decision re-evaluated but remain unchanged
Finished generating code
Astro8-Emulator.vcxproj -> D:\Code\Astro8-Computer\Astro8-Emulator\x64\Release\Astro8-Emulator.exe
Binary file modified Astro8-Emulator/x64/Release/Astro8-Emulator.pdb
Binary file not shown.
Binary file not shown.
Binary file modified Astro8-Emulator/x64/Release/main.obj
Binary file not shown.
Loading