Atari ST - 2026
M1 Tank Platoon Enhanced

- Genre
- Simulation - Miscellaneous
- Year
- 2026
- Language
- [unknown]
- Publisher
- [no publisher]
- Controls
- Joystick / Mouse
- Distributor
- —
- Players
- 1
- Developer
- Ataribaby42
- Resolution
- Low
- Licensed from
- —
- Coder(s)
- Hellesen, Joe
- Country
![[unknown] [unknown]](https://www.atarimania.com/country/xxx.webp)
- Graphics
- Remington, Max
- Software
- English
- Game design
- Spanburg, Scott / Hendrick, ArnoldAtariBaby
- Box/
Instructions - English
- Musician(s)
- Lagace, Ken / Patterson, Scott
- License
- PD / Freeware / Shareware
- Sound FX
- Patterson, Scott / Lagace, Ken
- Serial
- —
- Cover
- —
- ST Type
- ST, STe, TT / 0.5MB
- MIDI
- —
- Version
- —
- Dump
- Download
- Number of Disks
- 1 / Double Sided
- Dump format
- ST
- Protection
- Codewheel / ID Chart
INSTRUCTIONS
# M1 Tank Platoon — Changelog Consolidated record of the modifications completed through **2026-10-16**. Earlier combined Amiga builds have been confirmed working by the user. Final disk images: `output/M1TankPlatoon_modded.adf` and `output/M1TankPlatoon_modded.st`. ## External-view text after Shift+F3 — Amiga and Atari ST - Fixed stale `VIEW:` text and its angle remaining at the bottom right when entering Shift+F3 from an external view. - Clear the bottom eight rows in both screen buffers during the normal view refresh, then let the original status-message routine repaint current messages. Unchanged frames retain the cached status line. - Restore the Atari ST software cursor before clearing these rows so its saved background cannot restore the old text. - Added instruction-level regression checks for both buffers, cockpit preservation, current/new messages and cached status updates. - Verified repeated F9 → Shift+F3 transitions and return to F3 in an isolated Hatari instance, including a software cursor over the old label. Both enlarged-view screen buffers have a clean status area. ## Mi-24D support arrival — Amiga and Atari ST - Fixed the original helicopter command check that rejected Mi-24D support calls because it accepted only the AH-64 identifier. Selected Mi-24 units can now leave the off-map holding state and enter the battlefield after the original arrival delay. - Preserved mission selection, weather restrictions, support availability, random timing, aircraft statistics and weapons. This does not add a helicopter to every mission. - Kept AH-64 and OH-58 command handling and arrivals unchanged. Enemy Mi-24 calls do not display friendly AH-64 radio messages. - Added shared assembly source and automatic build checks for actual ground-unit-to-army-to-helicopter command propagation, all eight Mi-24 formation templates, all five simulation time steps, repeated orders during the countdown, unavailable helicopters and user-mode 68000/68020 execution. - Verified 1,344 command/identifier/state combinations and 40 formation/time-step arrival cases per platform, plus friendly helicopter controls. These are instruction-level checks through map entry, not a complete visual mission playthrough. - Added extended regression tests with 55,020 command/identifier/state combinations and 54 complete support cycles per platform. Movement, navigation, spatial allocation, departure, cooldown and repeat deployment match the original routines at every tested tick. AH-64, OH-58 and both attack-aircraft types are included as controls. - Compared Mi-24 target acquisition, firing and projectile trajectories with the original routines at all five simulation time steps, and checked terminal damage, crashes and wrecks that cannot be recalled. These tests execute real instructions on a controlled flat battlefield; the original Mi-24 control bypasses only its broken call-in guard. - Verified the current ST disk in an isolated Hatari 2.6.1 instance: normal and enlarged gunner views, a Mi-24 loaded by the real formation loader, its call-in and flight over the mission terrain, departure, cooldown and a second arrival. The test explicitly adds support to a training formation and submits normal call commands; it does not force the arrival state or shorten timers. No additional gameplay patch was required by this regression pass. - Allowed Atari ST builds from the supported source disk after the game saves its crew roster. Only `ROSTER.TNK` contents and its modification timestamp are excluded from the source checksum; executable, boot and filesystem changes remain rejected. The saved roster is preserved in the output. ## Atari ST port - Added a separate complete build for the supplied `assets/M1 Tank Platoon.st`, producing `output/M1TankPlatoon_modded.st`. - Ported dark green enemy vehicle materials, the brown distant vehicle point, valid-range laser acquisition, moving/turning lead corrections, viewport-edge clipping fixes, and consistent gunner-style thermal colors. Enemy map markers retain their original colors. - Ported Shift+F3 with the shared editable cockpit, reticles, distance font and Smoke 1 atlas. The enlarged scene renders at native pixel resolution, with the status line preserved and only Smoke 1 clickable. - Added native Atari ST interleaved-word sprite rendering and separate cockpit caches for both screen buffers. Unchanged cockpit and Smoke graphics are not repainted every frame. - Preserved the target when switching F3 to Shift+F3 or back, while retaining the original view-entry behavior from other views. - Added FAT12 disk updating, TOS relocation handling, ST asset compilation and actual 68000 instruction regression tests. Shared gameplay patch sources remain common to the two platforms. - Build with `python src/build_all.py --platform st` or `python src/build_st.py`; use `--platform all` to build both. The default command continues to build only the Amiga ADF. - Builds read the original disk and current PNGs, preserve other disk files, and do not modify either the source disk, PNGs, or the other platform's output. - Verified disk boot, a static gunnery mission, F3/Shift+F3 transitions, Smoke 1 and its status message, and commander/driver/gunner thermal selection in an isolated Hatari 2.6.1 instance configured as an 8 MHz Atari ST with 1 MB RAM and TOS 1.04. ## Loading and CPU compatibility - Fixed the black screen and apparent freeze when entering a mission after the polygon-edge fix. - Replaced a privileged status-register read in the clipping patch with condition-code saving that works in user mode on both the 68000 and later processors. The previous instruction caused a privilege exception on the 68020. - Added regression checks for 68000, 68020 and 68040 user-mode execution, including an explicit check for the privileged instruction that the instruction-test emulator did not reliably reject. - Reproduced the failure with the previous ADF and verified the corrected build in a separate, hidden WinUAE instance using a 68020/A1200 configuration. ## Consistent thermal colors - Changed the commander's thermal binoculars and the driver's thermal view to use the original gunner thermal material table. - Unified thermal terrain, object and sky colors across these views, including the enlarged gunner view. - Preserved the normal day/night view selection, sensor switches and cockpit palette. - Applied the change without adding rendering work or runtime memory. ## Polygon clipping and viewport edges - Fixed an original-game clipping error that produced vertical slivers along the left and right edges of the 3D viewport. - Closed clipped polygons at their actual viewport intersections instead of using the heights of vertices outside the window. - Applied the correction to normal F3, Shift+F3 and the other 3D views. - Handled polygons completely outside the viewport without leaving unwanted top or bottom rows. - Cleared cached boundary information when an edge is rejected behind the camera, preventing data from a previous object from being reused. - Preserved the original projection, line clipping, polygon fill and special horizon rendering. ## Gun lead while driving and turning - Corrected the player's velocity contribution to a fired round. The projectile inherits the tank's full world velocity, with the simulation time step applied when the projectile moves. - Removed the extra time-step scaling that caused large aiming errors while driving, especially when firing towards the sides of the tank. - Changed angular lead to use the sight's change in world direction, preventing hull rotation from introducing false lead while holding a target. - Preserved relative turret rotation for the turret motor sound. - Applied the fixes to manual aiming and locked targets in both normal F3 and Shift+F3. - Preserved the original stationary firing results against moving targets when the tank is not turning. - Checked all five simulation time steps and transitions between them, including slow-update cases relevant to low-FPS systems. - Left the original random shot dispersion, random-number generator, ammunition coefficients and ballistic tables unchanged. ## Laser rangefinder and target acquisition - Fixed false target acquisition after an invalid laser measurement, which could make the sight jump and display a flashing `0` with a target-lock star, particularly near terrain edges. - Restricted new laser target acquisition to valid measurements from **200 to 7998 metres**. - Routed invalid measurements through the original unsuccessful-acquisition path, retaining manual aiming. - Preserved flashing `0` as the indication of an invalid measurement. - Preserved valid target acquisition and the original flashing distance display from **4000 to 7998 metres**. - Applied the correction to normal F3 and Shift+F3 without changing terrain intersection calculations or ballistics. ## Enlarged gunner view — Shift+F3 - Added an enlarged gunner cockpit view activated with **Shift+F3**. - Rendered the 3D scene directly at native **1:1 pixel resolution** in the larger viewport, replacing the initial scaled-up 3D image. The view retains the normal F3 camera framing. - Added a separate enlarged cockpit bitmap, normal and thermal reticles, range digits and target-lock star. - Kept the bottom status-message area available; rows 19
TRIVIA (1)
Development
Development accelerated with AI-based programming tools.