1

Topic: Noob question how to add parameters to dot commands?

Hi

I recently got a divMMC for my +2B, what a marvelous device and operating system smile So I've been playing around with doing
my own commands really simple stuff using .dumpmem. Can someone show me a simple example how to add parameters to my command ? I did a very simple color scheme like this which just changes some system variables.

org 33000
ld a,78
ld (23624),a
ld (23693),a
ret

How would I add an optional parameter say so I can choose the color from the command line?

2

Re: Noob question how to add parameters to dot commands?

Maybe it helps you to look at an assembler-Listing of .dot-command "TIME" by Victor Trucco at:
https://gitlab.com/victor.trucco/RTC/bl … s/time.asm
which accepts parameters from commandline.