This has been driving me nuts for the past 3 weeks. I think I finally found the problem. People need to also confirm they see the same problem in the first place.
DOWNLOAD TEST BAS
https://www.exxosforum.co.uk/atari/STOS ... BENCH3.BAS
MUST USE TOS 104. CLEAN SYSTEM. Can use Steem or real hardware. MUST USE 206 or 300 compiler. MUST compile to GEM to DISK.
Once compiled. quit back to desktop using SYSTEM.
You should see the desktop icons corrupted !
My investigation shows the compiler has a bug that "randomly" writes (massive over simplification!) to areas of memory it shouldn't. . In this particular case, its the RSC ICON DATA in memory. The fault does not show in TOS206 or EMUTOS as the data landed in a "less visible" place in memory. The corruption ALWAYS happens, but needs TOS104 to visually see it in my specific test.
If you change the length of the DATA at the end of the BAS. The corruption will "move". If you remove all the DATA 0,0,0 lines, the corruption will "vanish". Same will happen with commands, but using DATA lines was just simple to demonstrate this bug !
I've found all sorts of related bugs as well and been working though to find and fix them all in a updated build of STOS.
30+ year old STOS compiler bug found ?
STOS programming section.
1 post
• Page 1 of 1
-
exxos
- Site Admin

- Posts: 28388
- Joined: 16 Aug 2017 23:19
- Location: UK
30+ year old STOS compiler bug found ?
Post by exxos »
1 post
• Page 1 of 1
Jump to
- GENERAL
- ↳ NEWS & ANNOUNCEMENTS
- ↳ INTRODUCE YOURSELF
- ↳ SHOW US YOUR COLLECTIONS
- ↳ CHAT FORUM PUBLIC
- ↳ MEMBER BLOGS
- ↳ ATARI MUSIC NETWORK
- ↳ ATARI FOR SALE & WANTED
- ↳ GENERAL FOR SALE & WANTED
- ↳ EXXOS WEBSTORE INFORMATION
- ↳ NOOB QUESTIONS
- ↳ CYBER LEGENDS RETRO EVENTS
- ↳ CYBER LEGENDS 5 - 2026
- ↳ CYBER LEGENDS 4 - 2025
- ↳ CYBER LEGENDS 3 - 2024
- ↳ CYBER LEGENDS 2 - 2023
- ↳ CYBER LEGENDS 1 - The Original 2022
- ATARI LIBRARY
- ↳ MOTHERBOARD REVISIONS
- ↳ STE
- ↳ STF
- ↳ ST
- ↳ MEGA STE
- ↳ MEGA ST
- ↳ STFM
- ↳ 8 BIT
- ↳ TT
- ↳ Falcon 030
- ↳ STACY
- ↳ MAGAZINES
- ↳ BENCHMARKS
- ↳ 3D MODELS
- OTHER / GENERAL HARDWARE
- ↳ 8 BIT CORNER
- ↳ DISPLAYS & CONVERTERS
- ↳ ELECTRONICS
- ↳ MSX 8 BIT COMPUTER
- ↳ OTHER 680x0
- ↳ VINTAGE GEAR ZONE
- ATARI 16 / 32 BIT
- ↳ HARDWARE
- ↳ HARDWARE ISSUES
- ↳ HARDWARE DISCUSSIONS
- ↳ BOOSTERS
- ↳ SEC 64MHZ BOOSTER
- ↳ STE V1 SERIES 32MHz BOOSTER
- ↳ ST 16MHz V2.X SERIES BOOSTERS (Discontinued 2020)
- ↳ ST V1 16MHz BOOSTER (Discontinued 2015)
- ↳ ST 16MHz V1.5 BOOSTER (Discontinued 2015)
- ↳ STE V2 BOOSTER
- ↳ STE / MSTE 68020 booster
- ↳ EVERYTHING ELSE
- ↳ ST536 030 ST ACCELERATOR
- ↳ ST 16MHz BOOSTER 2021
- ↳ DSTB1 & DFB1 booster by BadWolf
- ↳ PSU (power supplies)
- ↳ RTC (Real time clock)
- ↳ FLOPPY DRIVES KITS & UPGRADES
- ↳ RAM UPGRADES
- ↳ ROM UPGRADES
- ↳ PeST MOUSE INTERFACE
- ↳ BLAST FROM THE PAST
- ↳ HARD DRIVES
- ↳ HARDWARE ESSENTIALS
- ↳ RAVEN 060 - A homemade Atari-like computer
- ↳ RAVEN 060 - USER BUILDS
- ↳ SOFTWARE
- ↳ STOS
- ↳ SOFTWARE PROGRAMMING & DISCUSSION
- ↳ GAME ZONE
- ↳ ATARI ST REMAKE PROJECT
- ↳ ALPHA DEVELOPMENT INFO
- ↳ ALPHA USER BUILDS
- ↳ H4 MONGREL EDITION DEVELOPMENT & INFO
- ↳ MONGREL H4 USER BUILDS
- ↳ FPGA DEVELOPMENT
- ↳ H5 Phoenix Platform Edition
- ↳ H5 A3 USER BUILDS
- ↳ H5 B1 USER BUILDS
- ↳ H5 C1 USER BUILDS
- ↳ H5 C5B USER BUILDS
- ↳ LEGACY BOARD
- ↳ TWEAKS & FIXES
- ↳ BASIC TROUBLESHOOTING
- ↳ PHOENIX ZONE
- AMIGA
- ↳ Terriblefire's channel
- ↳ TF520 (OBSOLETE)
- ↳ TF530
- ↳ TF534 (OBSOLETE)
- ↳ TF328 (OBSOLETE)
- ↳ TF330
- ↳ DiagROM
- ↳ TF360
- ↳ TF536
- ↳ TF CD32 Riser
- ↳ TFMSX
- ↳ AMIGA HARDWARE HELP
- ↳ AMIGA MEMBER BLOGS
- ↳ AMIGA FOR SALE
- ↳ AMIGA SOFTWARE
Who is online
Users browsing this forum: ClaudeBot and 6 guests