Skip to content

Instantly share code, notes, and snippets.

@jacobly0
jacobly0 / memset_fast.asm
Last active September 2, 2016 16:11 — forked from runer112/memset_fast.asm
Optimized memset_fast to 23 bytes
; (c) Copyright 2016 Matt Waltz
;-------------------------------------------------------------------------
; Faster memset variation
; Reasons faster:
; 1) uses ldir to memset
; 2) executes in RAM to avoid flash wait states
;-------------------------------------------------------------------------
.def _memset_fast
.assume adl=1
@jacobly0
jacobly0 / calc1252stringroutines.asm
Created July 9, 2019 08:06 — forked from drdnar/calc1252stringroutines.asm
Custom string routines for use with my non-standard variant of Windows 1252
; This has some custom string routines for use with my non-standard variant of
; Windows 1252.
.assume adl=1
.def _strupper
.def _strlower
.def _isgreek
if defined GREEK_CASE_CHANGABLE
.def _disable_greek_case_change
.def _enable_greek_case_change