Search found 54 matches

by denjhang
20 Mar 2022, 17:59
Forum: Hardware and software hacking
Topic: Try compiling gtemuAT67 with Cygwin
Replies: 16
Views: 3108

Re: Try compiling gtemuAT67 with Cygwin

add_library(rs232lib rs232/rs232-win.c rs232/rs232.h) target_link_libraries(gtemuAT67 ${SDL2_LIBRARY} ${SDL2MAIN_LIBRARY} rs232lib) I added the following modifications at cmakelists and I finally succeeded. By the way, I've given up on using cygwin for now. Actually from the linking error, I switch...
by denjhang
20 Mar 2022, 16:40
Forum: Hardware and software hacking
Topic: Try compiling gtemuAT67 with Cygwin
Replies: 16
Views: 3108

Re: Try compiling gtemuAT67 with Cygwin

"D:\Program Files\CLion-2021.3.4.win\bin\cmake\win\bin\cmake.exe" -DCMAKE_BUILD_TYPE=Debug -DCMAKE_MAKE_PROGRAM=D:/mingw/winlibs-x86_64-posix-seh-gcc-12.0.1-snapshot20220123-mingw-w64-9.0.0-r1/mingw64/bin/mingw32-make.exe -DCMAKE_C_COMPILER=D:/mingw/winlibs-x86_64-posix-seh-gcc-12.0.1-sna...
by denjhang
20 Mar 2022, 15:50
Forum: Hardware and software hacking
Topic: Try compiling gtemuAT67 with Cygwin
Replies: 16
Views: 3108

Re: Try compiling gtemuAT67 with Cygwin

You can ignore this one, you only need to setup the COM port if you want to control real Gigatron HW via the emulator. Loader::initialise() : Couldn't find COM Port '0' in INI file 'loader_config.ini' 30 seconds of google searching for the following :P Failed to create secure directory (/home/Admin...
by denjhang
20 Mar 2022, 08:32
Forum: Hardware and software hacking
Topic: Try compiling gtemuAT67 with Cygwin
Replies: 16
Views: 3108

Re: Try compiling gtemuAT67 with Cygwin

I finally successfully run gtemuAT67 in Cygwin-X\WindowMaker, but the sound is very stuck and it seems to be very inefficient. And the console gives me these complaints. $ ./gtemuAT67 Loader::initialise() : Couldn't find COM Port '0' in INI file 'loader_config.ini' Failed to create secure directory ...
by denjhang
20 Mar 2022, 06:24
Forum: Hardware and software hacking
Topic: Try compiling gtemuAT67 with Cygwin
Replies: 16
Views: 3108

Re: Try compiling gtemuAT67 with Cygwin

I didn't realise you were trying to run it in a VM, what happens when you type glxinfo at a terminal, (or glxgears)? Have you tried running any of the SDL2 examples? Google is your friend here, either you didn't download the SDL2 opengl backend as part of the SDL2 installation, or something is amis...
by denjhang
20 Mar 2022, 02:28
Forum: Hardware and software hacking
Topic: Try compiling gtemuAT67 with Cygwin
Replies: 16
Views: 3108

Re: Try compiling gtemuAT67 with Cygwin

So it compiles without warning and errors but takes ten minutes to compile? I can build the entire thing on a Raspberry Pi400 in just over 1 minute. You only need to build it once and what has Cygwin's failures have to do with VSC++? I don't understand the cause and effect... You also don't need th...
by denjhang
19 Mar 2022, 17:31
Forum: Hardware and software hacking
Topic: Try compiling gtemuAT67 with Cygwin
Replies: 16
Views: 3108

Re: Try compiling gtemuAT67 with Cygwin

Did you try changing 'std::ifstream::streampos' to 'size_t' as shown in the code blocks? I can't see any errors in your output for size_t. For the malloc malarkey, find usages of '_heapTotalUsage' and '_heapAllocations' in compiler.cpp and comment them out. Also comment out this block of code at th...
by denjhang
19 Mar 2022, 15:57
Forum: Hardware and software hacking
Topic: LCC for the Gigatron. Take two.
Replies: 106
Views: 53760

Re: LCC for the Gigatron. Take two.

I'm trying to compile GLCC using cygwin, and while it compiles without any errors, the GLCC I compile doesn't have the correct functionality at all. It looks problematic in every way.
by denjhang
19 Mar 2022, 15:39
Forum: Hardware and software hacking
Topic: Try compiling gtemuAT67 with Cygwin
Replies: 16
Views: 3108

Re: Try compiling gtemuAT67 with Cygwin

gcc version 11.2.0 (Ubuntu 11.2.0-7ubuntu2) root@denjhang-virtual-machine:/home/denjhang/gigatron-rom-master/Contrib/at67# cmake -DCMAKE_BUILD_TYPE=Release CMake Warning: No source or binary directory provided. Both will be assumed to be the same as the current working directory, but note that this...
by denjhang
19 Mar 2022, 15:21
Forum: Hardware and software hacking
Topic: Try compiling gtemuAT67 with Cygwin
Replies: 16
Views: 3108

Re: Try compiling gtemuAT67 with Cygwin

There's already a gtemuAT67 thread here: https://forum.gigatron.io/viewtopic.php?t=69 Could you post new questions, issues, problems or whatever to that thread next time, please? gtemuAt67 has been successfully built on a lot of flavours of Linux, MacOS and Windows native, I am not sure if anyone h...