Shu99 sources (c)1999 smInc Filmation An SMI-Wolf Production version 99.07a,sources version 2.328 (99.07a-2.328) with debug ver 1.72 [s]Hu[x] ­The speed can be seen! -[About] *Shu99 is an PCE/TG16 emulator for the PC. *It is being designed to run under SHELDOW'S 99.11+. *Shu99 is a PORT of the well comming HU-GO! *Can be ran under msdos. -[features] *makes a good debugger *support for xms & vmm *soucre is in VBDOS & MASM *risc core (very fast and compact in size) *multiple memory drivers -[License] smInc Filmation claims no warrenty for this product. The source files are provided as IS with no doccumentation. If you modify any of the sources, please inform smInc Filmation of the changes. These changes may be made with doccumentation, sources,sugestions, ect. smInc Filmation doesn't want other modified packages of this package to be on the net. smInc Filmation will redistribute the files if modifying the package is needed. smInc Filmation doesn't want you to break up this package, meaning: use one of the components for one use or any other use. If you have to use one of the components, and can't implement this package from other resources or implement, please contact smInc Filmation (don't copy/plagerize! without concent!) smInc Filmation will give credits to people who helped with this project -[future version] *risc ver 2 core *cisc ver 2 core *opcode jmp table (to speed things up) *opcode prefetchers *coded in masm and dos32 *sound/grafx/cd support *speed optimizations *full debugger/assembler *more drivers -[version 1:september 26/99] *risc modual *xms/vmm moduals *cpu core verified to be 100% compat with Hu-go! version .97 -[version 2:November 15/99] *fixed video core,rebuilt -still not working *fixed all io routines, rebuilt *sound,cdrom io not rebuilt *added int, ect -[version 2.1;November 16/99] *added int code ->ALL ints are now working *still lacking graphics *worked on io routines, vdc is almost complete *io timer,joypad,irq is working *io sound,cdrom,ect not implemented yet (but converted from c to vb) *sound,cdrom,graphics cards not implemented yet -[VERSION 2.11;November 16/99] *INCLUDED VMM,XVMM LIBRARYS -[VERSION 2.14;December 2/99] *optimized routines for speed -[VERSION 2.25;December 4/99] *made new xms routines coded in MASM *figured out how to make a jump table in MASM (this is ideal for risc core) -[version 2.27;December 5/99] *made new xms routines coded in masm *enhanced xms routines -[VERSION 2.29;dECEMBER 6/99] *optimized memory routined for speed *fixed continues error bug (resume -> resume errorhndlr) *optimized irq routines -[VERSION 2.31;december 23/99] *optimized debug options -[VERSION 2.32;december 23/99] *optimized debug options *optimized memory and video routines *added more video code *OPTIMIZED IO READ/WRITE ROUTINES (NOW 20% FASTER) -[VERSION 2.321;december 29/99] *fixed some video routines (now in WORDS-not BYTES) *optimized PC instruction increment routine (2% faster) -[VERSION 2.326;december 29/99] *optimized video routines *compacted io_read/io_write code (also elemenated some code) *added more video code to io_write *now 3% faster, 4% smaller -[VERSION 2.328;december 29/99] *optimized video routines *optimized RISC core, reduced instructions, and increased speed *fixed opcodes *added more video routines, and dma routines *added debugger ver 1.72 *video near compleation -[help wanted] *for graphics *for sound *for irqs *for doccumentation *improvments/sugestions -[project Files] hux2.mak xms version of shu (project file) -----------------------| hux.mak xms version of shu (project file) -------------------| | hu.mak xms version of shu (project file) ---------------| | | huv.mak vmm version of shu (project file) -----------| | | | HUEMU2RH.BAS shu main core (HuEmu ver 2 rev i,deb 1.72) <-| <-| <-| <-| INSTR.BAS shu sub routines (opp codes ver 1.1) <-| <-| <-| <-| VMM.LIB virtual memory library (vmm,ver2.1) <-| | | | XVMM.LIB virtual memory library (xvmm,ver1) <-| | | XVMX.LIB virtual memory library (xvmx,ver1) <-| | XVMX2.LIB virtual memory library (xvmx2,ver1) <-| core\*.* huc6280 cpu core + shu main program debug\*.* debugger files for shu vmm\*.* vmm libraries for shu VMM.MAK,VMM.QLB,VMM.LIB VIRTUAL MEMORY (VMM) LIBRARY -vmm.bas vmm support for shu (vmm ver 2.1) note: this way of using vmm is the slowset because it used a file on the hdd called pram.ram. This is ideal if there is not enough ram availablr or beta testing smartdrive must be loaded for best results XVMM.MAK,XVMM.QLB,XVMM.LIB VIRTUAL MEMORY (XVMM) LIBRARY -xvmm.bas xms support for shu (xvmm ver 1) -vxms.bas himem.sys support for xms (vxms ver 1) note: This is one of the fastest ways of implementing vmm It uses dirrect routines to himem.sys for xms support himem.sys must be loaded to use this XVMX.MAK,XVMX.QLB,XVMX.LIB VIRTUAL MEMORY (XVMX) LIBRARY -xvmx.bas xms support for shu (xvmx ver 1) -xms.lib himem.sys support for xms (xms masm ver 3) note: This is the fastest implementation of vmm yet. Its himem.sys routines are entirely implemented in MASM. himem.sys must be loaded to use this XVMX2.MAK,XVMX2.QLB,XVMX2.LIB VIRTUAL MEMORY (XVMX2) LIBRARY -xvmx2.bas xms support for shu (xvmx ver 2) -xms2.lib himem.sys support for xms (xms masm ver 4) note: This is the fastest implementation of vmm yet. It is an enhanced version of xvmx. Its himem.sys routines are entirely implemented in MASM. And most of the vmm interface is coded in MASM. himem.sys must be loaded to use this note: so far, XVMX(2) virtual memory is the fastest, because it is coded mostly in MASM. -[contact] SHU WEBSITE E-mail: pce4shu@emuunlim.com (not shu@emuunlim.com, sorry!) Url: shu.emuunlim.com alias: SharkTooth SHELDOW'S WEBSITE E-mail: sheldows9804@homestead.com (regarding sheldows website) Url: www.homestead.com/SHELDOWS smInc Filmations website E-mail: sheldows9804@homestead.com (regarding sminc website) Url: www.homestead.com/smInc E-mail: smInc@Technologist.com (to contact smInc Filmation) smInc007@hotmail.com (to contact smInc Filmation) sheldows@tapaz.net (to contact smInc Filmation) -[news/history] *?date 1999 started building a pce emulator(used FPCE, 6502) resources made tables of ops, ect. *?date added risc core, rebuilt using hugo 0.97 sources added more tables supporting risc + reduced size *?date tested with hugo sources 0.97, 100% (djgpp Shu version) *7/20/99 started shu99 project ofically (shu99 version 99.07a) *9/26/99 first release of sources(ver 1) of version 99.07a on sheldow's website *11/1/99 shu got hosted by emuunlim.com *11/13/99 emuunlim oficially declared my site open (it wasnt until 11/15/99 I found out) *11/14/99 added a counter at the bottom of my website to keep track of tourists/visitors *11/15/99 added routines to source(ver 2) of version 99.07a *11/15/99 found out that emuunlim (emulation64?) posted a news about my site and the fox added my link under "hosted websites" on 11/13/99 found out that, because of it, 59 hits on my site in one to two days. (Could of been more, if I only added my counter befour the 12th, so I could of kept track on the grand opening! 160?) that was my grand opening when ver 1 sources were only to download (not much!, but they still came) *11/15/99 added lame slogane: [s]Hu[x] ­The speed can been seen! [s]Hu[x] (kind a looks like a rece car, tg16/pce on wheels!) since SHELDOW'S HuC6280 (SHu) emulator, only emulates the HuC6280 and not the other stuff, it should be called SHux when its finished? +makes the name less lame? *11/16/99 not going to bother to post ver 2 sources(my site lied) added more routines to source(ver 2.1) of version 99.07a *11/16/99 sources ver 2.11 release *12/1/99 sources ver 2.14 release *12/4/99 sources ver 2.25 release (now 5% in MASM) *12/5/99 sources ver 2.27 release (now 7% in MASM) *12/6/99 sources ver 2.29 release (now 7% in MASM) *12/23/99 sources ver 2.31 release (added debug 1.71) *12/23/99 sources ver 2.32 release (now 20% faster) *12/28/99 The SHu Team is now working 24hours a day to complete and update The SHu emulator.(until jan 3rd 1999) *12/29/99 sources ver 2.321 release (now 2% faster sources ver 2.326 release (now 3% faster,4% smaller) sources ver 2.328 release (added debug 1.72,video almost complete) -[date format] this is here to help(for your refrence only) date: July 20th 1999 -> July(7)/20/99 -> 7/20/99 (mm/dd/yy) -[version format] this is here to help(for your refrence only) date: mm/dd/yy -> yy.mm[(dd/31) * 15] -> yy.mmr (r for revision within mounth) ex 7/20/99 -> 99.07[(20/31) * 15] -> 99.07[9.68] (9.68 is close to 10) -> 99.07[10] (10 is 0xA) -> 99.07a ver: 99.07f -> 7/(f revision)/99 -> July (E)/15 * 31 1999 -> July (14)/15 * 31 1999 -> July (28.9) 1999 (28.9 is close to 29) -> July 29th 1999 -[thanx] to ojolly for providing the hugo sources version 0.97 AND FPCE and making the second best emu (Hu-Go!, FPCE) -it would be nice to see ver 1.04 sources http://www.emuunlim.com/hugo to hu6280 for making the third best emu (was second for compat, but hugo stoll the spot with iso/cd/isq support) i still use it because it plays all games (good) -it would be nice to see any of your sources -i hope to see next release of huwin and hu6280 (wish you luck with cd support!) http://www.hu6280.com to videoman, hack-list, david michael, ect for providing pce docs and david michael for making the best emu (magic engine) http://www.magicengine.com emulators unlimited (emuunlim) for providing new shu website http://www.emuunlim.com to SHELDOW'S (well my other website) for forcing shu to get a new site because conflict of interest (emulators and buisness dont mix) The best OS (fastest) out there