Usenet comp.os.linux.announce (1993-2013)
 help / color / mirror / Atom feed
From: gary@daniver.demon.co.uk (Gary Henderson)
Subject: Snes96, Linux v0.7 - Super Nintendo Entertainment System emulator
Date: 1997/05/22	[thread overview]
Message-ID: <pycola.864336086.29382@liw.clinet.fi> (raw)


-----BEGIN PGP SIGNED MESSAGE-----


	Snes96: Linux/MS-DOS/Solaris 0.7 Released 21th May 1997
	-------------------------------------------------------

Gary Henderson (gary@daniver.demon.co.uk)

The seventh public, binary-only release of Snes96, the Super Nintendo
Entertainment System (SNES) emulator for Linux i386, DOS and Sun Solaris
Sparc is now available from: http://www.euronet.nl/users/jkoot/index.htm

Snes96: Linux is a port/rewrite of the SNES emulator for Windows 95 originally
written by Jerremy Koot (jkoot@euronet.nl) and with considerable amounts of
new features, speed ups and bug fixes added by myself. Snes96 is coded in C++
with an assembler CPU emulation core on the Linux and MS-DOS ports.

About 85% of the ROMs that people have tested so far seem to work OK; these
include Donkey Kong County 1, 2 and 3, Chrono Trigger, Secret Of the Evermore,
The Final Fantasy series, Metroid 3, F-Zero, Puzzle Bobble, etc, etc.

Key features
- ------------
o Speed: with a 100% assembler CPU emulation core on Linux and MS-DOS ports -
  it is the fastest SNES emulator around and getting faster (slowly).
o Lots of ROMs work, the numbers are increasing with each release.
o Simultaneous two SNES joy-pad emulation allowing two player games to be
  played.
o Support for one 2, 4 or 6 button joystick or two 2-button joysticks - Linux
  and MS-DOS ports only.
o Snapshot a game in progress and restore the game to that exact point at
  a later time. 
o Complete, fast mode 7 emulation (screen rotation and scaling) - all except
  one rarely used feature.
o Complete H-DMA emulation for those split screen and wavy background
  effects.
o Background clip windows for those H-DMA zoom effects.
o Variable CPU cycles length as on the real SNES, for fast and slow ROM
  emulation.
o Mosaic effect.
o Linux S-VGA and MS-DOS ports support various screen modes.
o Compressed ROM image support (use gzip).
o SNES image scaling.
o 8-bit, 16-bit and 24-bit X11 server support.
o An uncrackable binary - mainly because it has no protection to crack such as
  time limits, limited palette, etc., etc. and never will.

It terms of what SNES hardware is actually emulated, most graphics registers
are emulated. There is no sound emulation at all and the lack of this is the
major cause of ROM failures.  The background colour addition and subtraction
are also not implemented. A few other odd features that no ROMs seem to use
are also not emulated: direct colour output, interlaced display, pseudo
horizontal 512 pixel mode.

Some ROM cartridges contained additional hardware such as the SuperFX chip (a
16MHz RISC processor) or DSP chip, neither of these chips are emulated at the
moment so games like Mario Cart, DOOM, Yoshi's Island, etc. don't work.

Work on sound emulation has begun but, due to lack of accurate documentation,
is proceeding a more slowly than expected. I'm hopefull that version 0.8
will have sound support in some limited form.

What's New Since Last Release
- -----------------------------
- - SPEED: Rewrote CPU core in assembler for Intel platforms - gives a very
  noticeable speed increase.
- - Changed default frame skip rate from 1 to 2 - its seems most people don't
  bother to read the docs, so I thought I'll help them out a bit!
- - Speeded up Mode 7 graphics on games like F-Zero that rewrite the matrix
  registers on each scan line using H-DMA.
- - Fixed joystick detection on MS-DOS port - a single 2 or 4 button joystick in
  port 1 was being ignored if a second joystick was not present in port 2.
- - More graphics speed ups - the code to render background tiles with their
  priority bits set is only called if there are actual priority-bit tiles.
- - Fixed palette in mode 0.
- - Whoops, accidently left some test code in which was causing the V-BLANK
  flag, bit 8 in register $4212, to be miss-calculated - now Sensible
  Soccer works again.
- - Fixed bug that caused 1 byte of S-RAM to be emulated when ROM didn't
  expect any - it was enough to stop Street Fighter 2 and others from
  working - thanks Lord ESNES.
- - Reorganised the graphics code and did a slight speed up - graphics code
  will be the next thing to rewrite in assembler.
- - Joysticks now scanned every 3rd frame (joystick scanning is slow in the PC).
- - Double-whoops, Metriod 3 had stopped working in v0.6 - fixed it 
  (memory map bug).
- - Made bit 6 of $4211 set if v-counter == v-timer-position.
- - Made reading of $4200 read $4212 instead.
- - Adjusted DMA timing to always access ROM memory at slow speed - this seems
  to fix Battle Toads: Double Dragon.
- - Added code to automatically clear pending IRQs when the horizontal line
  is no longer equal to the horizontal timer line - this fixes Seiken 3, it
  now just gets stuck in the sound CPU wait code - oh well.
- - Moved NMI back to its original pre-0.65 behaviour, now Puzzle Bobble works.
- - Fixed several problems with the APU sound CPU emulation - its now getting
  stable enough to try and implement sound.
- - The TXS and TCS instructions shouldn't set the Z and N flags.
- - Looks like MVP/MVN instructions should ignore accumulator size - change
  code to always use all 16 bits and exit with accumulator set to 0xffff.

What you will need
- ------------------

You will need a Pentium-class PC running Linux, MS-DOS or Windows 95 with at
least 8Mb of RAM. Interleaved format ROM images also required an additional
4Mb temp buffer while the image format is converted; this will push up the
required RAM to 16Mb.  I am unable to test the MS-DOS port under Windows 3.11
but I see no reason why it shouldn't work. 

The Linux port requires a recent, stable kernel version; I'm using 2.0.27.
The Sun Solaris Sparc port requires a fast Sun Sparc workstation running
Solaris 5.x.  Both the UNIX ports are dynamically linked and will require
access to various shared libraries. Use ldd snes96 to make sure you have all
the required libraries on your system.
 
The Solaris port and the Linux X11 version will also need an X server running.

Credits
- -------

Many thanks must go to Jerremy Koot (jkoot@euronet.nl) because without all
his hard work on the original Snes96 Windows 95 and continuing hard work on
the Snes97 version the Linux, MS-DOS and Solaris ports would not exist.

Thanks also to Lord ESNES for his many discoveries and for a person who
shall remain nameless, for his continuing quest for SNES information on my
behalf.

I also would like to thank Shawn Hargreaves (shawn@talula.demon.co.uk) for
the excellent Allegro library with made porting Snes96 relatively easy and
my two beta testers, Dave Baugh and Zorkwiz@aol.com.

SNES is a trademark of Nintendo. 
Sun, Solaris and Sparc are trademarks of Sun Microsystems, Inc.  
MS-DOS and Windows 95 are trademarks of the Microsoft Corporation.

- ------------------------------------------------------------------------------
Gary Henderson (gary@daniver.demon.co.uk)


- -- 
This article has been digitally signed by the moderator, using PGP.
http://www.iki.fi/liw/lars-public-key.asc has PGP key for validating signature.
Send submissions for comp.os.linux.announce to: linux-announce@news.ornl.gov
PLEASE remember a short description of the software and the LOCATION.
This group is archived at http://www.iki.fi/liw/linux/cola.html

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3ia
Charset: noconv

iQCVAwUBM4S41oQRll5MupLRAQH5eAQAw5VG8z/vKQsOoDyRM7OAMVvi6xsKnosu
DRvuRFw5MzsdfjzhJLJ53MSx5UYs02UCgC3AXKSwoopgqURY+wd7iP2hN/CkpMyv
tQIrcXr5wiwvXucdwjDKgj3GFmvgj8duAlwtAMjPeNYGMpVneyi5PTufiUWEM9df
7ZKsl2JS6d0=
=q0iJ
-----END PGP SIGNATURE-----



                 reply	other threads:[~1997-05-22  4:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox