NO$PSX V2.2 Released (16th Dec 2022)

Problems or feedback about the NO$PSX emulator by Martin Korth
Post Reply
User avatar
nocash
Verified
PSX Aficionado
PSX Aficionado
Posts: 611
Joined: Nov 12, 2012
Contact:

NO$PSX V2.2 Released (16th Dec 2022)

Post by nocash » December 17th, 2022, 12:36 pm

New update, http://problemkaputt.de/psx.htm

16 Dec 2022 - no$psx v2.2
- cdrom/emu/help: chd compression (thanks null for many test cases)
- cdrom/emu/help: pbp compression (partially supported, without encryption)
- irq: more accurate port 1F8010F4h dma irq handling (and removed alone_fix)
- windows: closes child windows (help,iomap,tty,etc) on exit (regain keyb focus)
- windows: uses SendNotifyMessage instead SendMessage for broadcast (avoid hang)
- bios clone: cd-audio player shows both left/right waveforms (white/gray)
- spu: bugfixed capture (voice 3 was accidently written to 400h instead C00h)
- cdrom/setup: scex mode optionally normal, unlicensed, dumb/stealth modchip
- cdrom: command 04h,05h,10h,11h,1Dh trigger error 80h when disk is stopped
- cdrom/emu: allocates larger cue sheet (for many tracks with multiple indices)
- cpu: conditional jump reserved bits (emulated, with optional warning)
- cpu: conditional bltzal/bgezal always set ra=$+8 (even when condition=false)
- cpu: emulates mul/div timings, fixed JALR opcode (for unstable rd=rs)
- cpu: emulates lwl/lwr as generic 'any_mem_ecx_mac' memory access
- cpu: emulates irq triggered after NEXT opcode after SR.bit0 changing 0-to-1
- cpu: emulates opcode.bit26-27 stored in cause.bi28-29
- cpu: allows/warns on unused/mirrored COP0 opcodes (vs invalid TLB opcodes)
- timers: fixed cmall clock cycle leak in process_event function
- gte: supports cop2 disable, emulates cop2cmd timings
- gte: accurate mvmva glitches for Vx=2 and Mx=3 (thanks mednafen source code)
- gte: fixed overflow flags for nclip/gpl
- gte: reading IRGB/ORGB registers takes 1 extra clock cycle (when gte busy)
- cop1/cop3: supports dummy cop1/cop3 opcodes (when enabled in SR.bit29/bit31)
- cop0: emulates glitchy jf/jt/lwc0/swc0 opcodes (versus SR.bit28)
- compression help: added note on BIOS/GUI using same LZSS as Destruction Derby
- kernel/help: added notes on NOPs in exception handler C(06h)
- debug/ass/dis: movl/movr opcodes (alias for native lwl/swl/lwr/swr opcodes)
- debug/iomap: resolves DMA control flags (IE,IF,prio from DICR/DPCR)
- help: added dtl-h2000-only CDROM kernel functions; in A(79h) .. A(8Fh) range
- help: added note about faulty SetSession TOC reading in older cdrom firmwares
- help: added note on undocumented cause.bit30 (branch delay condition)
- a22i: fixed slt(i)(u) opcode in native asm syntax
- file formats: blaster master chunks, ape escape sound archives, xz, upx, bm

User avatar
Administrator
Verified
Admin / PSXDEV
Admin / PSXDEV
Posts: 2689
Joined: Dec 31, 2012
I am a: Shadow
PlayStation Model: H2000/5502

Post by Administrator » December 17th, 2022, 3:04 pm

Fantastic work as always NO$CASH. Glad the annoying Windows program close issue is finally resolved :lol:

Just one thing I noticed was on your site the year is incorrect. It should be 2022 (not 2017). The same goes for V2.1.
Image
You do not have the required permissions to view the files attached to this post.
Development Console: SCPH-5502 with 8MB RAM, MM3 Modchip, PAL 60 Colour Modification (for NTSC), PSIO Switch Board, DB-9 breakout headers for both RGB and Serial output and an Xplorer with CAETLA 0.34.

PlayStation Development PC: Windows 98 SE, Pentium 3 at 400MHz, 128MB SDRAM, DTL-H2000, DTL-H2010, DTL-H201A, DTL-S2020 (with 4GB SCSI-2 HDD), 21" Sony G420, CD-R burner, 3.25" and 5.25" Floppy Diskette Drives, ZIP 100 Diskette Drive and an IBM Model M keyboard.

User avatar
nocash
Verified
PSX Aficionado
PSX Aficionado
Posts: 611
Joined: Nov 12, 2012
Contact:

Post by nocash » December 17th, 2022, 3:22 pm

Oops, yes, 2022. I don't have a calendar.

null
Active PSXDEV User
Active PSXDEV User
Posts: 63
Joined: Dec 18, 2021
PlayStation Model: SCPH-1002

Post by null » December 17th, 2022, 6:33 pm

Awesome, thanks to this new update and the useful infos newly added in the documentation of CDROM File Formats.
http://problemkaputt.de/psxnew.htm wrote: News
release notes
20 Aug 2022 no$psx v2.1
help: bugfix: bios C(03h) SysDeqIntRP is working (it's messy, but not bugged)
Is there a missing info in between the colon(:) of help and bugfix or it's just a typographical error?

User avatar
nocash
Verified
PSX Aficionado
PSX Aficionado
Posts: 611
Joined: Nov 12, 2012
Contact:

Post by nocash » December 18th, 2022, 2:06 am

When writing "help: bugfix:", I meant "correcting incorrect information in psxspx". Perhaps more confusing, that "bugged info" was referring to a non-existing "software bug".
I had thought that I had discoverd a bug in sony's SysDeqIntRP kernel function disassembling it - but I got that wrong, that kernel function isn't bugged.
The embrarrassing part is that I had included several warnings about it in psxspx - Don't use SysDeq!! Don't use any functions that are internally using SysDeq!!!! The kernel function is so unstable!!!!!!!! Panic! - but that's been all nonsense, and the kernel is much better than I had thought.

User avatar
Squaresoft74
Verified
/// PSXDEV | ELITE ///
/// PSXDEV | ELITE ///
Posts: 310
Joined: Jan 07, 2016
PlayStation Model: SCPH-7502
Location: France
Contact:

Post by Squaresoft74 » December 20th, 2022, 1:59 am

Many thanks for the new release and PSF loading support. :D
I've noticed the bios clone still reports version 2.1.
Is that done on purpose or did you forget to bump it to 2.2 ?

User avatar
Administrator
Verified
Admin / PSXDEV
Admin / PSXDEV
Posts: 2689
Joined: Dec 31, 2012
I am a: Shadow
PlayStation Model: H2000/5502

Post by Administrator » December 20th, 2022, 5:29 am

Whenever I try to run a game under V2.2 it just crashes instantly.
V2.1 seems to work fine still. No idea why this is happening.

Image
You do not have the required permissions to view the files attached to this post.
Development Console: SCPH-5502 with 8MB RAM, MM3 Modchip, PAL 60 Colour Modification (for NTSC), PSIO Switch Board, DB-9 breakout headers for both RGB and Serial output and an Xplorer with CAETLA 0.34.

PlayStation Development PC: Windows 98 SE, Pentium 3 at 400MHz, 128MB SDRAM, DTL-H2000, DTL-H2010, DTL-H201A, DTL-S2020 (with 4GB SCSI-2 HDD), 21" Sony G420, CD-R burner, 3.25" and 5.25" Floppy Diskette Drives, ZIP 100 Diskette Drive and an IBM Model M keyboard.

User avatar
nocash
Verified
PSX Aficionado
PSX Aficionado
Posts: 611
Joined: Nov 12, 2012
Contact:

Post by nocash » December 20th, 2022, 12:12 pm

Squaresoft74 wrote: December 20th, 2022, 1:59 am I've noticed the bios clone still reports version 2.1.
Ah, I forgot to update the version number. There are only minimal changes in the bios clone though (slightly improved gui for the cd-audio player).
Shadow wrote: December 20th, 2022, 5:29 am Whenever I try to run a game under V2.2 it just crashes instantly.
Might happen. If it's happening with all games, but doesn't happen to other people (?) then it's probably caused by unusual .ini file settings, or uncommon kernel version or cdrom firmware version.

User avatar
Administrator
Verified
Admin / PSXDEV
Admin / PSXDEV
Posts: 2689
Joined: Dec 31, 2012
I am a: Shadow
PlayStation Model: H2000/5502

Post by Administrator » December 21st, 2022, 5:04 am

nocash wrote: December 20th, 2022, 12:12 pm
Shadow wrote: December 20th, 2022, 5:29 am Whenever I try to run a game under V2.2 it just crashes instantly.
Might happen. If it's happening with all games, but doesn't happen to other people (?) then it's probably caused by unusual .ini file settings, or uncommon kernel version or cdrom firmware version.
I tried that before posting here. I downloaded a fresh copy and ran it (no BIOS or HC05, etc).
Crashes on any game or PS-EXE I throw at it :crying
Development Console: SCPH-5502 with 8MB RAM, MM3 Modchip, PAL 60 Colour Modification (for NTSC), PSIO Switch Board, DB-9 breakout headers for both RGB and Serial output and an Xplorer with CAETLA 0.34.

PlayStation Development PC: Windows 98 SE, Pentium 3 at 400MHz, 128MB SDRAM, DTL-H2000, DTL-H2010, DTL-H201A, DTL-S2020 (with 4GB SCSI-2 HDD), 21" Sony G420, CD-R burner, 3.25" and 5.25" Floppy Diskette Drives, ZIP 100 Diskette Drive and an IBM Model M keyboard.

null
Active PSXDEV User
Active PSXDEV User
Posts: 63
Joined: Dec 18, 2021
PlayStation Model: SCPH-1002

Post by null » December 27th, 2022, 5:06 am

Hi nocash, is there a way to save the whole cdrom tree view content in Filesystem viewer as .TXT? Just for bug reporting purposes? So we can send you the undocumented unknown formats inside the cdrom?

These are the bugs I encountered in the new versions of NO$PSX and PSXTNY emulators.

Tested in Windows 10 v21H2
OS build 19044.2130

Recorded in Windows 10 built-in Xbox Game Bar screen recorder
Speed increased, to compensate for the forum upload limit. It has no effect in the emulation because I also tested it in normal emulation speed with same result.

NO$PSX v2.2
CDROM Vampire Hunter D USA
Format used - BIN/CUE/CHD
The audio and gameplay is working fine but after the intro FMV the "main menu option" screen becomes black. It should have text like start game, load game, option and difficulty levels (normal/hard) and background images.

PSXTNY v2.2
Same Vampire Hunter D CDROM bug.
Autosave Option in Emulation Setup doesn't work.
ALT+X keys for Quit doesn't work.
Closing the emulator using "Quit" by mouse or keyboard arrows is very slow compared to NO$PSX v2.2.
Can't retain the "Recent played games" list after quiting the emulator.
You do not have the required permissions to view the files attached to this post.

alexfree
Verified
Extreme PSXDEV User
Extreme PSXDEV User
Posts: 221
Joined: Oct 21, 2021
I am a: Programmer, Gamer
PlayStation Model: SCPH-1000
Location: USA
Contact:

Post by alexfree » January 20th, 2023, 11:03 am

I am trying to reverse the checksum used in the save file generated by GameShark Lite. Unfortunately, every emulator can not load past the 'Start GSLite' menu option after booting the BIN+CUE image, including no$psx emu. My brute force attempts to figure out the checksum have all failed, the emulator would help a lot if I could get the GSLite BIN+CUE properly started to see what bytes it actually adds to calculate the checksum.
Thanks for the great emu:)

User avatar
nocash
Verified
PSX Aficionado
PSX Aficionado
Posts: 611
Joined: Nov 12, 2012
Contact:

Post by nocash » January 24th, 2023, 8:51 pm

null wrote: December 27th, 2022, 5:06 am is there a way to save the whole cdrom tree view content in Filesystem viewer as .TXT?
Just for bug reporting purposes? So we can send you the undocumented unknown formats inside the cdrom?
I could add that feature. But wouldn't it be easier to just say "file XXX.YYY in folder ABCD" is having issues, without needing a TXT file for that?
null wrote: December 27th, 2022, 5:06 am CDROM Vampire Hunter D USA .. the "main menu option" screen becomes black.
Good to know. I have found this:

Code: Select all

PCSX Reloaded SVN r59304 Changelog:
  Vampire Hunter D - gpu.c
  - allow changes to linked list in middle of dma2 chain before GPU gets to it
  - fixes title screen
  - also fixes Einhander gallery images
So that's caused by some stupid timing bug in the game... it could be fixed with some dirty timing hack... or by actually implementing cycle accurate gpu emulation... that would require some research on gpu timings. I am not too motivated to do either one, but it's on the todo list.
null wrote: December 27th, 2022, 5:06 am PSXTNY v2.2 - ALT+X keys for Quit doesn't work.
Oh, yes, that should be ESC not ALT+X in gaming version. ALT+X works only in debug window (because game window defaults to use ALT and X for gamepad buttons).
null wrote: December 27th, 2022, 5:06 am PSXTNY v2.2 - Autosave Option in Emulation Setup doesn't work.
PSXTNY v2.2 - Can't retain the "Recent played games" list after quiting the emulator.
PSXTNY v2.2 - Closing the emulator using "Quit" by mouse or keyboard arrows is very slow
Thanks, will be fixed in next version. Currently it's simply crashing (because it tries to destroy one of the debug windows on exit, but that debug window doesn't exist in gaming version).

alexfree
Verified
Extreme PSXDEV User
Extreme PSXDEV User
Posts: 221
Joined: Oct 21, 2021
I am a: Programmer, Gamer
PlayStation Model: SCPH-1000
Location: USA
Contact:

Post by alexfree » September 20th, 2023, 3:51 pm

Not sure when this was added, but it has been invaluable in rapidly testing/developing non-stealth mod-chip anti-piracy bypasses for Tonyhax International, thank you.
1.png
You do not have the required permissions to view the files attached to this post.

User avatar
CodeAsm
Verified
Active PSXDEV User
Active PSXDEV User
Posts: 71
Joined: Jan 13, 2012
I am a: Programmer, Student
Location: The Netherlands
Contact:

Post by CodeAsm » January 24th, 2024, 12:12 am

Another cool release, been more than a year ago. why isnt this thread pinned? and https://problemkaputt.github.io/psx.htm seems outdated?
Development Console: SCPH-102, unkown clone Modchip, PAL , FTDI board build into the case (microUSB) for Serial I/O.
Development Computer: GNU/Linux, Arch x86_64 Linux 4.20.3, i7-3632QM [8x3.2GHz], 11,8GiB, 1366x768 GeForce GT 630M (Optimus tech), lots of gig of storage

User avatar
nocash
Verified
PSX Aficionado
PSX Aficionado
Posts: 611
Joined: Nov 12, 2012
Contact:

Post by nocash » January 24th, 2024, 10:07 pm

Pinned? Ah, the v2.0 and v2.1 are pinned, making them appear above the newer v2.2 version.
Shadow, can you remove those pins? And just leave everything unpinned.

The no$psx homepage is at http://problemkaputt.de/psx.htm

The github page isn't mine. Some years ago I've been looking for a cheap new webhost, and back then somebody in nesdev forum had created that page as an example how it would look like when hosting it on github. That's been done with very good intention, but I've no idea how to contact that person for asking to delete that page (I did try via nesdev PM, but got no reply)).

User avatar
Squaresoft74
Verified
/// PSXDEV | ELITE ///
/// PSXDEV | ELITE ///
Posts: 310
Joined: Jan 07, 2016
PlayStation Model: SCPH-7502
Location: France
Contact:

Post by Squaresoft74 » January 25th, 2024, 8:43 pm

I hoped no$psx 2.2 it could get Parasite Eve 2 working but still not sadly. :(

Dacaskos
Interested PSXDEV User
Interested PSXDEV User
Posts: 5
Joined: Oct 03, 2023
PlayStation Model: SCPH-1000

Post by Dacaskos » February 7th, 2024, 8:47 am

Any chance the next version can have 2nd player support? =)

User avatar
gwald
Verified
Net Yaroze Enthusiast
Net Yaroze Enthusiast
Posts: 313
Joined: Sep 18, 2013
I am a: programmer/DBA
PlayStation Model: Net Yaroze
Contact:

Post by gwald » May 30th, 2024, 8:03 pm

I thought I posted here also, haven't been able to use version 2.2... instant crash, win10 running fine under VMWare.
v2.1 has no problems.
error.png

I think I told you about it?? and it was related to the command line, it seems to work when using the File -> Open menu.
I think I tested it with this VM also:
https://archive.org/details/net-yaroze- ... xp-vm-2022
You do not have the required permissions to view the files attached to this post.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest