Mehridian Sanders Posted December 9, 2019 Author Share Posted December 9, 2019 1 minute ago, wierd_w said: What version of windows are you running? The "not a valid win32 application" error is rather generic, but happens when either the executable code is completely borked, OR, when the api-level of the win32 subsystem is too old for the process needed. If the toolchain as developed on a very recent version visual studio, this would explain everything; It wants windows 10. i've been putting off a windows update for a couple of days lol BRB Quote Link to comment Share on other sites More sharing options...
wierd_w Posted December 9, 2019 Share Posted December 9, 2019 It can also happen with 64bit code being run on 32bit windows. (or on a 32bit processor.) Quote Link to comment Share on other sites More sharing options...
Mehridian Sanders Posted December 9, 2019 Author Share Posted December 9, 2019 5 minutes ago, wierd_w said: What version of windows are you running? The "not a valid win32 application" error is rather generic, but happens when either the executable code is completely borked, OR, when the api-level of the win32 subsystem is too old for the process needed. If the toolchain as developed on a very recent version visual studio, this would explain everything; It wants windows 10. Running Windows 10 Home Version 1809 (RS5) // 19H1 ought to be very interesting when it comes out. Quote Link to comment Share on other sites More sharing options...
Mehridian Sanders Posted December 9, 2019 Author Share Posted December 9, 2019 3 minutes ago, wierd_w said: It can also happen with 64bit code being run on 32bit windows. (or on a 32bit processor.) I've noticed that most programs are installing with 32bit when I am running a 64bit system ------------------ System Information ------------------ Time of this report: 12/8/2019, 21:16:00 Machine name: MEDUSA Machine Id: {29F1C508-6D1B-4696-897A-136C2F149892} Operating System: Windows 10 Home 64-bit (10.0, Build 17763) (17763.rs5_release.180914-1434) Language: English (Regional Setting: English) System Manufacturer: System manufacturer System Model: System Product Name BIOS: 1301 (type: UEFI) Processor: Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz (8 CPUs), ~4.2GHz Memory: 16384MB RAM Available OS Memory: 16322MB RAM Page File: 5748MB used, 29006MB available Windows Dir: C:\WINDOWS DirectX Version: DirectX 12 DX Setup Parameters: Not found User DPI Setting: 96 DPI (100 percent) System DPI Setting: 96 DPI (100 percent) DWM DPI Scaling: Enabled Miracast: Available, with HDCP Microsoft Graphics Hybrid: Not Supported DxDiag Version: 10.00.17763.0001 64bit Unicode Quote Link to comment Share on other sites More sharing options...
wierd_w Posted December 9, 2019 Share Posted December 9, 2019 Microsoft has kind of band-aided the issue with how they handle win10. Core win32 apis are kinda-sorta detatched from the OS as a distributable. However, older versions of windows want to link the win32 apis provided by the OS's core DLL set, not the modular ones expected by modern Visual Studio. (Modern versions of visual studio want to wrap the API calls in several layers of wrapper functions so that microsoft can pull the rug out and replace it, presumably without your noticing. I personally consider this an insane practice, but apparently they love to tinker over there at microsoft, and dont believe in mature codebases.) You can often tell a visual studio project, because it will come with a boatload of win32 api dlls. See this microsoft blog about it. https://social.msdn.microsoft.com/Forums/en-US/a28331ae-19a3-4a34-b3ba-1e8fd4430375/missing-apimswincore-dlls?forum=windowsgeneraldevelopmentissues Quote Link to comment Share on other sites More sharing options...
Mehridian Sanders Posted December 9, 2019 Author Share Posted December 9, 2019 recommend compiling this in Linux? I have been enjoying RPI a lot lately. Quote Link to comment Share on other sites More sharing options...
wierd_w Posted December 9, 2019 Share Posted December 9, 2019 If the compiler runs on linux, worth a shot. Quote Link to comment Share on other sites More sharing options...
Mehridian Sanders Posted December 9, 2019 Author Share Posted December 9, 2019 (edited) 1 hour ago, wierd_w said: If the compiler runs on linux, worth a shot. well got all the files on my Rpi 3B+... file not found... in Thonny "no such file or directory: xas99.py".. added all 3 python paths to Make.py #!/usr/bin/python #!/usr/bin/python2 #!/usr/bin/python3 I am assuming i need to point to the darn file. Just not sure how. reading .... butterfly in the sky ... I can go twice as high ... Edited December 9, 2019 by Mehridian Sanders Quote Link to comment Share on other sites More sharing options...
Mehridian Sanders Posted December 11, 2019 Author Share Posted December 11, 2019 Well building a FinalFlasher. Rpi Zero 1.3 which will be viewed from an Asus Zen pad. This makes it portable. GPIO for flashing. Can use android if needed. Have a bluetooth keypad which emulates mouse and keyboard. And I didn't have to buy anything for this one as the components were already here. Yay.Sent from my SM-G955U using Tapatalk Quote Link to comment Share on other sites More sharing options...
Mehridian Sanders Posted December 19, 2019 Author Share Posted December 19, 2019 ok RPI Zero Out RPI 3B+ In -- New Code : Please note that all "*.py" files are in the same directory as the "make.py" #!/usr/bin/env python #!/usr/bin/env python2 #!/usr/bin/env python3 #!/home/pi/Desktop/FinalGrom99/finalgrom-master/ti import sys from subprocess import call xas = ["xas99.py", "-b", "-R", "-I", "/home/ralph/ti99/xdt99/lib/"] xga = ["xga99.py"] # original: if call(xas + ["menu.a99"], shell=False): if call([xas + "menu.a99"], shell=False): sys.exit("ERROR: menu.a99") with open("menu.bin", "rb") as f: data = f.read() with open("menu.c", "w") as f: f.write("const uint8_t menu[] PROGMEM = {\n"); for b in data[:-1]: f.write(hex(ord(b)) + ",\n"); f.write(hex(ord(data[-1])) + "};\n"); if call(xga + ["grom.gpl"], shell=False): sys.exit("ERROR: grom.a99") with open("grom.gbc", "rb") as f: data = f.read() with open("grom.c", "w") as f: f.write("const uint8_t grom[] PROGMEM = {\n"); for b in data[:-1]: f.write(hex(ord(b)) + ",\n"); f.write(hex(ord(data[-1])) + "};\n"); if call(xas + ["help.a99"], shell=False): sys.exit("ERROR: help.a99") with open("help.bin", "rb") as f: data = f.read() with open("help.c", "w") as f: f.write("const uint8_t help[] PROGMEM = {\n"); for b in data[:-1]: f.write(hex(ord(b)) + ",\n"); f.write(hex(ord(data[-1])) + "};\n"); now it can apparently find the file but getting error : raise TypeError("expect bytes or str, not %s" % type(filename).__name__) anyone more proficient in python that can steer me? Quote Link to comment Share on other sites More sharing options...
Omega-TI Posted December 19, 2019 Share Posted December 19, 2019 Μου φαίνεται ελληνικό! Quote Link to comment Share on other sites More sharing options...
Mehridian Sanders Posted December 20, 2019 Author Share Posted December 20, 2019 Μου φαίνεται ελληνικό!Unfortunately I do not know that language. Sent from my SM-G955U using Tapatalk Quote Link to comment Share on other sites More sharing options...
+Lee Stewart Posted December 20, 2019 Share Posted December 20, 2019 48 minutes ago, Mehridian Sanders said: Unfortunately I do not know that language. Sent from my SM-G955U using Tapatalk It is Greek to me! ...lee 1 Quote Link to comment Share on other sites More sharing options...
Mehridian Sanders Posted December 25, 2019 Author Share Posted December 25, 2019 So ... ot helps to use the right compiler... was using 3.* with 2.* code....apparently python changed from 2 to 3 making 2 code no good in 3Sent from my SM-G955U using Tapatalk Quote Link to comment Share on other sites More sharing options...
Mehridian Sanders Posted December 28, 2019 Author Share Posted December 28, 2019 Well the IC's are finally here for the 32k sidecar!! but Jameco messed up the socket order. I actually did get the Cypress RAM chip, which is weird since I ordered the Alliance one.Right now it looks like this. Can these parts be soldered down without the socket?@jedimatt42 whatcha think?Thanks in advance.Sent from my SM-G955U using Tapatalk 1 Quote Link to comment Share on other sites More sharing options...
+jedimatt42 Posted December 29, 2019 Share Posted December 29, 2019 Sockets are a safety net against future failures and mistakes ( also known as accidents ) I sometimes run with scissors, but it isn't ever a good idea. -M@ 2 Quote Link to comment Share on other sites More sharing options...
Mehridian Sanders Posted December 29, 2019 Author Share Posted December 29, 2019 Advice heeded.. will not run with scissors... so I got creative ... a bitSent from my SM-G955U using Tapatalk 1 Quote Link to comment Share on other sites More sharing options...
Mehridian Sanders Posted December 31, 2019 Author Share Posted December 31, 2019 Ok. The 32k Sidecar is completeI made sure the jumpers were set proper.Over TI and center. LED does not come on.No way to test if it actually works. :/Sent from my SM-G955U using Tapatalk Quote Link to comment Share on other sites More sharing options...
Mehridian Sanders Posted December 31, 2019 Author Share Posted December 31, 2019 Speech Synthesizer has the power pass through mod..Does the external power supply have to be soldered down ? That's probably it....Sent from my SM-G955U using Tapatalk Quote Link to comment Share on other sites More sharing options...
wierd_w Posted December 31, 2019 Share Posted December 31, 2019 Do you have an extended basic cart? If so, boot it and run size to see if it reports 32k. 1 Quote Link to comment Share on other sites More sharing options...
Mehridian Sanders Posted December 31, 2019 Author Share Posted December 31, 2019 All right will have to get one of those. Lol week or so till next update there.Sent from my SM-G955U using Tapatalk Quote Link to comment Share on other sites More sharing options...
Omega-TI Posted December 31, 2019 Share Posted December 31, 2019 One playful observation... if FinalGROM had come first, you would have just been able to download XB. (ducking and running for cover) 1 Quote Link to comment Share on other sites More sharing options...
Mehridian Sanders Posted December 31, 2019 Author Share Posted December 31, 2019 One playful observation... if FinalGROM had come first, you would have just been able to download XB. (ducking and running for cover)Hahahahaha I know. That damn build program is gonna drive me insane lolSent from my SM-G955U using Tapatalk 1 Quote Link to comment Share on other sites More sharing options...
Mehridian Sanders Posted December 31, 2019 Author Share Posted December 31, 2019 So bout a week or so..Sent from my SM-G955U using Tapatalk Quote Link to comment Share on other sites More sharing options...
Mehridian Sanders Posted January 1, 2020 Author Share Posted January 1, 2020 One playful observation... if FinalGROM had come first, you would have just been able to download XB. (ducking and running for cover)I am still kerflummoxed on that. The users of stackoverflow were not kind to my first posting there. Eventually I will figure it out. May not come from the Rpi either ... but would then have to purchase a programmer and learn that as well. I am not sure if you have to program the Atmel and the other BEFORE soldering them down... but then why would you add a SPI header to it?.. does the SPI header program both of the chips needing programming?Sent from my SM-G955U using Tapatalk Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.