This one's for ZShell: someaddr=$80xx ;xx is some number like 67 (user mem) Rand: ld hl, (someaddr) inc hl res 7, h ld (someaddr), hl ld a, (hl) I know there are better random routines, but this one's small and does the job. Wyrmlord egillespie@juno.com