no$sns - new SNES emulator

Discussion of hardware and software development for Super NES and Super Famicom.

Moderator: Moderators

Forum rules
  • For making cartridges of your Super NES games, see Reproduction.
alekmaul
Posts: 54
Joined: Tue Apr 24, 2012 12:22 pm
Contact:

Re: no$sns - new SNES emulator

Post by alekmaul »

New post, sorry about debug function.
I tried to add debug function to my liv (PVSnesLib) with such code :

Code: Select all

.equ REG_DEBUG	$21FC
.section ".consoles_text" superfree
;---------------------------------------------------------------------------
; void consoleNocashMessage(const char *message);
consoleNocashMessage:
	php
	
	rep	#$20
	phy
	ldy #$0
	
	; Let tcc__r2 point to the message
	lda		7,s
	sta		tcc__r2
	lda		9,s
	sta		tcc__r2h
	
	sep	#$20
-:	lda		[tcc__r2],y
	beq +
	iny
	sta.l	REG_DEBUG
	bra -
	
+:	ply
	plp
	rtl
.ends
And i try it with, for example : consoleNocashMessage("hello world\r\n");
The code works fine in no$sns, i can see it with 'step by step' running, message pointer is ok and i send each character to $21fc address. But nothing appears in debug windows :( , any idea ?

*EDIT 05/09/2013 , stupid i was, need to activate debugmessage in OPtions/Debug. Works fine now. Thanks a lot for this option nocash ! *
pichichi010
Posts: 172
Joined: Thu Dec 29, 2011 5:41 pm

Re: no$sns - new SNES emulator

Post by pichichi010 »

hello, can anybody help read a multicart with Lorom/hirom mixed games? We trying to upgrade the menu on the multicart, after we did, the Hirom game (Nwarp Daisakusen) freezes at intro screen, but if you reset and open skip and friends, then reset and open Nwarp Daisakusen it works.

We are trying to get that bug fixed. We can offer donation for time's worth.

I know that No$SNS is the only emulator that supports multicart bankswitching.
Near
Founder of higan project
Posts: 1553
Joined: Mon Mar 27, 2006 5:23 pm

Re: no$sns - new SNES emulator

Post by Near »

I know that No$SNS is the only emulator that supports multicart bankswitching.
I support it on official hardware, eg the SNES-EVENT competition boards (Campus Challenge '92 and Powerfest '94), but I don't emulate bootleg / pirate cart / third-party pay-to-play systems.

May as well answer your NA PM here: afraid I don't have free time at the moment to help you with your issue, sorry about that. Hope someone else here can help you.
pichichi010
Posts: 172
Joined: Thu Dec 29, 2011 5:41 pm

Re: no$sns - new SNES emulator

Post by pichichi010 »

No problem man, thanks for the reply!
Post Reply