Skip to content

Instantly share code, notes, and snippets.

@RCL
RCL / helloworld.asm
Created August 10, 2024 02:45 — forked from shred/helloworld.asm
Spectrum Next Hello World
DEVICE ZXSPECTRUMNEXT
ROM_PRINT_A EQU $0010
ROM_CLS EQU $0D6B
ROM_CHAN_OPEN EQU $1601
SYS_BORDCR EQU 23624
SYS_ATTR_P EQU 23693
ORG 0x8000
#! /usr/bin/env python
# See http://preshing.com/20130115/view-your-filesystem-history-using-python
import optparse
import os
import fnmatch
import time
# Parse options
parser = optparse.OptionParser(usage='Usage: %prog [options] path [path2 ...]')
parser.add_option('-g', action='store', type='long', dest='secs', default=10,