HELLO-WORLD -------------------------------------------------------------------------------------------------- TOOL: SynAssembler by Synapse, ATARI-800XL Language: Assembler Extra: - Author: Misel Zivanovic Note: (C) 19th DEC 2025 - www.lived.ch, mzretro.ch --------------------------------------------------------------------------------------------------- While reading ATARI Information, i stumbled over this address $d20a! And i thought! WHAT!? One address and there you have your random number! I just had to list C64 and C128 versions so you can compare it. ATARI vs {C64 vs C128} = {2 : 0} --------------------------------------------------------------------------------------------------- ATARI-800XL RANDOM NUMBERS VERSION {SynAssembler} 00010 .OR $3000 00020 LDA $D20A 00030 STA $9C40 00040 RTS ---------------------------------- C64 VERSION | C128 (1) C128 (2) LDA #$FF LDA #$00 NONE!? STA $D40E STA #$FF00 STA $D40F LDA #$FF LDA #$80 STA $D40E STA $D412 STA $D40F LDA $D41B LDA #$80 STA $0400 STA $D412 RTS LDA $D41B STA $0400 RTS