[Date Prev][Date Next][Subject Prev][Subject Next][Date Index][Subject Index]

Re: a peculiar date bug in DOSbox



Reply to note from Bill Troop <billtroop@xxxxxxxxx> Wed, 26 Jan 2022
23:54:26 +0000

Bill,

> Generally, I invoke the TODAY command this way from a keyboard
> file:
> 
> 20=NO,JM,2,.,t,o,d,a,y,Q2
> 
> I now no longer understand what NO JM 2 . is for

I can't imagine what's going on with DOSBox-X, wake-up and the date,
but hopefully Wengier will see your query and respond.

With regard to "TODAY", I just wanted to clarify that there are two
such entities: the native command TODAY, which puts down a hard date,
and the U2 command TODAY, which puts down the day of the week in
addition to the date. On the command line, TODAY<F9> (or whatever key
you use to execute native commands) executes the former, and
TODAY<Helpkey> the latter. In XPL, the native command is BX todayQ2 ,
and the U2 command is JM 2.todayQ2 . In the keyboard file, these
translate to:

nn=BX,t,o,d,a,y,Q2

and

nn=JM,2,.,t,o,d,a,y,Q2
or
nn=NO,JM,2,.,t,o,d,a,y,Q2

("NO" is optional -- strongly recommended if you use the STACK command-
history routine and otherwise benign.)

I hope this helps.

-- 
Carl Distefano
cld@xxxxxxxxxx