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

Par gasparrini

Champion (309)

Portrait de gasparrini

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 ou Inscrivez-vous pour poster

Par djh1697

Paragon (1508)

Portrait de djh1697

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

Par djh1697

Paragon (1508)

Portrait de djh1697

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

Par gasparrini

Champion (309)

Portrait de gasparrini

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

Par gdx

Prophet (3906)

Portrait de gdx

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.

Par gasparrini

Champion (309)

Portrait de gasparrini

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