How to set silent CURSOR using CALL BIOS BASIC ROM from BASIC

By gasparrini

Champion (301)

gasparrini's picture

16-09-2018, 00:29

Hello Gentilmens of the MSX World,

I ask a little please......
How to set silent CURSOR using CALL BIOS BASIC ROM from BASIC ??

Example:
From BASIC, for set silent you must do:

SCREEN,,0

How I can do for set silent using example, a CALL BIOS BASIC ROM from BASIC?

DEFUSR=addrr:A=USR(0):REM addrr= ???

addrr=CALL BIOS BASIC ROM

I hope that some of you can help me
That is all for the moment......
I'm always happy to write from time to time, like in the old days
Best Regards
(^_^)
Andrea Gasparrini from Italy

Login or register to post comments

By djh1697

Paragon (1409)

djh1697's picture

16-09-2018, 00:50

CHGSND
Address : #0135
Function : Alternates the 1-bit sound port status
Input : A - #00 to turn off
not #00 to turn on
Registers: AF

Not sure if that will do it? http://map.grauw.nl/resources/msxbios.php

By djh1697

Paragon (1409)

djh1697's picture

16-09-2018, 00:50

CHGSND
Address : #0135
Function : Alternates the 1-bit sound port status
Input : A - #00 to turn off
not #00 to turn on
Registers: AF

Not sure if that will do it? http://map.grauw.nl/resources/msxbios.php

By gasparrini

Champion (301)

gasparrini's picture

16-09-2018, 10:34

Good Morginig,

Thanks for your kind reply, but .....
from its instructions, it requires a small routine in assembler Z80
in order to set CHGSND to OFF!

Howerver if I do DEFUSR=&H135:A=USR(0) unfortunately I get only the small sound of the cursor.
Therefore it has need of a small routine in assembler Z80 in mode SET CHGSND to OFF!

I hope that some of you can still help me
Best Regards
(^_^)
Andrea Gasparrini from Italy

By gdx

Prophet (3046)

gdx's picture

16-09-2018, 10:44

To turn off the keys sound:

	xor a
	ld	(0F3DBh),a	;CLIKSW

I don't think it's possible using a call to BIOS.

By gasparrini

Champion (301)

gasparrini's picture

17-09-2018, 12:00

From BASIC with POKES:

POKE&HF3DB,0:REM CHGSND set OFF
POKE&HF3DB,255:REM CHGSND set ON

Again still thanks for you very much and Happy MSX Forever
Yours faithfully
;-)
Andrea Gasparrini from Italy