Novaxis SCSI BIOS updated

Page 2/2
1 |

By alexito

Hero (534)

alexito's picture

23-04-2019, 12:34

Thanks, lintweaker.

Very Good Job my friend I just apply the new NFDISK.COM with my Novaxis Bios Version 159.65

;)

Now just testing my Buffalo MO Drive Model S640 it work flawless under MSX-DOS ver 1.03 Formatted MO Disc 230MB with just one 32MB Partition.

P.S: I saw the new Novaxis Bios ROM (15966) at Github do you recommend to replace with my already 159.65?

By gdx

Prophet (2976)

gdx's picture

23-04-2019, 15:11

lintweaker wrote:
gdx wrote:

Have you also included this fix with your update?

If there are sources for those I can include them.

I do not remember very well what I did but I found the following source code.

LF	equ	0ah
CR	equ	0dh

CHPUT	equ	000A2H		; Print a character
CSRX	equ	0F3DDh
CSRY	equ	0F3DCh
NEWKEY	equ	0FBE5H		; First line of matrice keyboard
SNSMAT	equ	0141h

	org	07e00h

	ld	a,h
	cp	040h
	ret	nz		; Back if call to progStart caused by Rom mirrors
	
	ld	a,(NEWKEY+6)
	bit	2,a		; Graph
	ret	nz

	ld	hl,text
	call	print
test_NoGraph:	
	ld	a,(NEWKEY+6)
	bit	2,a		; Graph
	jr	z,test_NoGraph

	ld	a,(CSRY)
	dec	a
	ld	(CSRY),a
	ld	b,0

test_LR:
	ld	a,(NEWKEY+8)
	bit	4,a		; LEFT
	call	z,print_disable

	ld	a,(NEWKEY+8)
	bit	7,a		;  RIGHT
	call	z,print_enable

	ld	a,(NEWKEY+6)
	bit	2,a		; Graph
	jr	nz,test_LR

	ld	a,(CSRY)
	inc	a
	inc	a
	ld	(CSRY),a
	xor	a
	ld	(CSRX),a

	xor	a
	cp	b
	jp	nz,04722h

	SCF	
	ret

print_disable:
	ld	b,0
	ld	hl,disable
	ld	a,22
	ld	(CSRX),a
	jp	print

print_enable:
	ld	b,1
	ld	hl,enable
	ld	a,22
	ld	(CSRX),a
	jp	print
	
print:
	ld	a,(HL)
	or	a
	ret	z
	call	CHPUT
	inc	hl
	jr	print
	
text:
	db	'Novaxis SCSI will be disable',CR,LF
	db	'if you press  again.',0
disable:
	db	'disable',0
enable:
	db	'enable ',0
LF	equ	0ah
CR	equ	0dh

CHPUT	equ	000A2H		; Print a character
CSRX	equ	0F3DDh
CSRY	equ	0F3DCh
NEWKEY	equ	0FBE5H		; First line of matrice keyboard
SNSMAT	equ	0141h

	org	07F00h

	call	05bd0h

test_DEL:	
	ld	a,(NEWKEY+8)
	bit	3,a		; Del
	jr	z,test_DEL

	halt
	ret

I also modified some bytes in ROM as below.

DB A8 00 -> CD 65 F3 at 0064h
CD 41 01 -> CD 00 7E at 071Ah
CD D0 5B -> CD 00 7E at 1982h

By NYYRIKKI

Enlighted (5356)

NYYRIKKI's picture

23-04-2019, 16:23

lintweaker wrote:

Still only FAT12, maybe I'll try to add FAT16 partition support (will not be bootable).

Quote:

I tested it with the ROM flashed to a MSX flash cartridge.

It might be that I'm missing something obvious here, but if you have a flash cartridge, wouldn't it be easier just to write Nextor in there? I guess the original ROM should work "well enough" to provide legacy driver support for Nextor... Nextor can boot from FAT16 and has built in partition programs and all...

By NYYRIKKI

Enlighted (5356)

NYYRIKKI's picture

23-04-2019, 17:29

This got me curious, so I had to do some testing on emulator, so I can now answer my self...

It seems that unfortunately FAT16-support and partitioning tools are not available when legacy drivers are used. Sad To get around this I guess it should be possible to write quick 'n dirty "wrapper driver" that would just redirect Nextor calls to Novaxis ROM routines, but at least it was not ready plug & play solution.

Page 2/2
1 |