+saxmeister Posted October 1, 2022 Share Posted October 1, 2022 (edited) I was working on some code and started getting a weird error I had never seen before. So I started digging into the code and trying to squash any bugs I may have inadvertently added and had no luck. So I scaled back the code cutting out chunks and testing with the same results. Then I pared it down to this bit of code: displaymode 160A set zoneheight 16 BACKGRND=$08 __Main clearscreen drawscreen goto __Main And guess what? This produced the same error. So I am thinking something is wrong with my 7800basic installation in VSCode on Ubuntu, The console: Verifying compiler files exist... Verifying file permissions... Using ".Linux.x64" flavored 7800basic binaries Location: /home/climate/.vscode/extensions/chunkypixel.atari-dev-studio-0.8.0/out/bin/compilers/7800basic/ Version: 7800basic v0.20 (10:37:36, Jul 29 2022) Using ".Linux.x64" flavored dasm binary. Location: /home/climate/.vscode/extensions/chunkypixel.atari-dev-studio-0.8.0/out/bin/compilers/7800basic/dasm.Linux.x64 Version: DASM 2.20.15-SNAPSHOT Starting build of freeway_06.78b 7800basic v0.20 Jul 29 2022 10:37:36 7800basic compilation complete. User-defined 7800.asm found in current directory stack allowance: 30 nested subroutines. the canary is situated at: $1c1 28652 bytes of ROM space left in the main area. $1880 to $1fff used as zone memory, allowing 31 display objects per zone. 2500 bytes left in the 7800basic reserved area. Complete. (0) Read $8000 bytes of cartridge data. Cartridge hash area is from $F000 to $FFFF. Cartridge signature for 'freeway_06.78b.bin' appears to be empty. Encrypting... 00 01 success! A valid cartridge signature is: 07 98 38 f5 96 fd 91 00 74 13 2f 7e 2e 55 9b 11 01 3a 9d 32 bc 6d 56 03 3d 62 4c b5 73 0e c5 e0 24 dc d5 42 af d6 85 c7 13 b0 3a c5 c9 1c 24 74 b1 f5 d9 93 69 1d 9c 5a dd ed 45 99 41 f5 bf 8a f1 02 89 e6 34 ae 40 4d 19 5f 02 41 54 4f 52 d7 d6 e5 38 3d 5a b6 0a 1e a3 f6 bb 3c 1d 13 64 04 ea 40 83 5b de 14 af 8e 0d 29 35 ed 40 27 e7 90 b8 04 8e dd 13 b2 71 75 Wrote back 120 bytes to 'freeway_06.78b.bin'. 7800header 0.15 Jul 29 2022 10:37:38 opened parameter file a78info.cfg 7800makecc2 v0.1 The ROM 'freeway_06.78b.bin' is compatible with CC2. Verifying compiled file(s)... Cleaning up files generated during compilation... Moving compiled file(s) to 'bin' folder... Moving debugger file(s) to 'bin' folder... Launching A7800 emulator... X Error of failed request: BadValue (integer parameter out of range for operation) Major opcode of failed request: 155 (GLX) Minor opcode of failed request: 3 (X_GLXCreateContext) Value in failed request: 0x0 Serial number of failed request: 101 Current serial number in output stream: 102 Exit code: 1 So this tells me that the code is compiling correctly and that the A7800 emulator has an issue, whether it's in the compiled code or the emulator is crashing. Has anyone else had this happen? Any fix for it? I have rolled back to older versions of 7800basic Studio and am having the same results there. And when I reinstalled the latest version and restarted VSCode I was still unable to successfully run anything. Thanks! Edited October 1, 2022 by saxmeister Quote Link to comment Share on other sites More sharing options...
+saxmeister Posted October 1, 2022 Author Share Posted October 1, 2022 (edited) I figured it out. 🙄 The video driver had crashed so I needed to restart Linux. Edited October 1, 2022 by saxmeister 2 4 Quote Link to comment Share on other sites More sharing options...
Ecernosoft Posted October 2, 2022 Share Posted October 2, 2022 Haha. 23 hours ago, saxmeister said: 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.