├── zlib ├── readme.txt └── inffast.h ├── i286x ├── i286xcts.h ├── v30patch.h ├── cpucore.h ├── cpumem.h ├── i286x.cpp ├── i286x.mcr ├── i286xadr.cpp ├── i286xcts.cpp ├── i286xadr.h └── i286xrep.h ├── libretro ├── Makefile ├── jni │ ├── Application.mk │ └── Android.mk ├── link.T ├── shim │ ├── ini.c │ ├── sysmng.h │ ├── timemng.h │ ├── inputmng.c │ ├── joymng.h │ ├── sysmenu.h │ ├── taskmng.h │ ├── np2.h │ ├── oemtext.h │ ├── trace.h │ ├── sysmng.c │ ├── timemng.c │ ├── trace.c │ ├── soundmng.h │ └── inputmng.h ├── oldfileio │ ├── dosio.c │ └── dosio.h ├── emu_exports.h ├── sdlremap │ └── sdl.h ├── libretro_exports.h ├── keyboardtranslate.h ├── libretro_params.h └── libretro-common │ └── include │ └── wiiu │ └── os │ └── condition.h ├── i286c ├── v30patch.h ├── i286c.c ├── cpucore.h ├── cpumem.h ├── i286c_ea.c ├── i286c_mn.c ├── i286c_sf.mcr └── x64 │ └── cpucore.inc ├── libretro-alt ├── Makefile ├── link.T ├── ini.c ├── dosio.c ├── inputmng.c ├── sysmng.h ├── timemng.h ├── ext │ ├── scci │ │ ├── scci.h │ │ ├── scciif.h │ │ └── scciif.cpp │ ├── externalopm.h │ ├── externalpsg.h │ ├── externalopl3.cpp │ ├── externalopl3.h │ ├── externalopm.cpp │ ├── externalopna.cpp │ ├── externalopna.h │ ├── externalpsg.cpp │ ├── c86ctl │ │ ├── c86ctlif.h │ │ └── c86ctlif.cpp │ ├── externalchipmanager.h │ └── externalchipmanager.cpp ├── sdlkbd.h ├── joymng.h ├── sysmenu.h ├── taskmng.h ├── oemtext.h ├── np2.h ├── trace.h ├── soundmng.h ├── sysmng.c ├── inputmng.h ├── trace.c └── timemng.c ├── .gitignore ├── android-project ├── jni │ ├── Android.mk │ ├── Application.mk │ └── src │ │ ├── main.c │ │ └── Android_static.mk ├── res │ ├── drawable-mdpi │ │ └── ic_launcher.png │ ├── values │ │ └── strings.xml │ └── layout │ │ └── main.xml ├── src │ └── com │ │ └── yourcompany │ │ └── np2 │ │ └── Np2Activity.java ├── default.properties ├── project.properties ├── ant.properties └── build.properties ├── x11 ├── oemtext.c ├── fontmng.c ├── ext │ ├── scci │ │ ├── scci.h │ │ ├── scciif.cpp │ │ └── scciif.h │ ├── externalopl3.h │ ├── externalopm.cpp │ ├── externalopm.h │ ├── externalopna.h │ ├── externalpsg.cpp │ ├── externalpsg.h │ ├── c86ctl │ │ ├── c86ctlif.h │ │ └── c86ctlif.cpp │ ├── externalopl3.cpp │ ├── externalopna.cpp │ ├── externalchipmanager.h │ └── externalchipmanager.cpp ├── resources │ ├── fddseek.wav │ └── fddseek1.wav ├── cmpara.h ├── autogen.sh ├── debug │ ├── viewmem.h │ └── debugwin.h ├── taskmng.h ├── trace.c ├── timemng.h ├── cmserial.h ├── contrib │ └── udev │ │ └── 70-external-fm-sound.rules ├── oemtext.h ├── taskmng.c ├── misc │ └── guard.h ├── timemng.c └── trace.h ├── io ├── egc.c ├── fdc.c ├── gdc.c ├── pic.c ├── pit.c ├── cgrom.c ├── crtc.c ├── dmac.c ├── epsonio.c ├── fdd320.c ├── gdc_sub.c ├── iocore.h ├── mouseif.c ├── np2sysp.c ├── pcidev.c ├── pcidev.h ├── cpuio.h ├── fdd320.h ├── printif.h ├── dipsw.h ├── necio.h ├── nmiio.h ├── sysport.h ├── epsonio.h ├── emsio.h ├── lsidef.h ├── artic.h ├── cgrom.h ├── upd4990.h ├── np2sysp.h ├── mouseif.h ├── crtc.h ├── gdc_pset.h └── nmiio.c ├── nevent.c ├── nevent.h ├── np2tool ├── NP2TOOL.INC ├── GETBIOS.ASM ├── HOSTDRV.ASM ├── POWEROFF.COM ├── np2tool.zip ├── Makefile.W32 ├── HOSTDRV.INC ├── NP2TOOL.X86 └── PWOFF.ASM ├── pccore.c ├── pccore.h ├── calendar.c ├── keystat.c ├── keystat.h ├── readme.txt ├── sdl2 ├── ini.c ├── dosio.c ├── dosio.h ├── sysmng.h ├── inputmng.c ├── timemng.h ├── iOS │ ├── Icon.png │ ├── Default.png │ ├── Icon-72.png │ ├── Default-568h@2x.png │ ├── Default-Landscape.png │ ├── compiler.pch │ └── main.m ├── win32 │ ├── main.c │ ├── compiler.c │ ├── misc │ │ ├── guard.h │ │ ├── tty.cpp │ │ ├── tty.h │ │ ├── usbdev.h │ │ ├── threadbase.h │ │ ├── usbdev.cpp │ │ └── threadbase.cpp │ └── np2sdl2.vcproj ├── MacOSX │ └── np2sdl2 │ │ ├── en.lproj │ │ ├── InfoPlist.strings │ │ └── Credits.rtf │ │ ├── np2.icns │ │ ├── compiler.pch │ │ └── misc │ │ └── guard.h ├── ext │ ├── scci │ │ ├── scci.h │ │ ├── scciif.h │ │ └── scciif.cpp │ ├── externalopl3.h │ ├── externalopm.h │ ├── externalopna.h │ ├── externalpsg.h │ ├── externalopl3.cpp │ ├── externalopm.cpp │ ├── externalopna.cpp │ ├── externalpsg.cpp │ ├── c86ctl │ │ ├── c86ctlif.cpp │ │ └── c86ctlif.h │ ├── externalchipmanager.h │ └── externalchipmanager.cpp ├── joymng.c ├── sdlkbd.h ├── joymng.h ├── mousemng.h ├── mousemng.c ├── sysmenu.h ├── taskmng.h ├── oemtext.h ├── np2.h ├── trace.h ├── soundmng.h ├── sysmng.c ├── inputmng.h ├── timemng.c └── trace.c ├── statsave.c ├── update.txt ├── bios ├── bios.c ├── bios0c.c ├── bios18.c ├── bios19.c ├── bios1b.c ├── sxsibios.c ├── keytable.res └── sxsibios.h ├── cbus ├── amd98.c ├── ideio.c ├── ideio.h ├── scsiio.c ├── atapicmd.c ├── board14.c ├── mpu98ii.h ├── pcm86io.c ├── scsicmd.c ├── pcm86io.h ├── cbuscore.h ├── board118.h ├── board26k.h ├── boardx2.h ├── board86.h ├── boardso.h ├── scsicmd.h ├── boardspb.h ├── boardpx.h ├── cs4231io.h ├── scsiio.h └── board14.h ├── debugsub386.c ├── fdd ├── d88head.h ├── fdd_d88.c ├── fdd_xdf.c ├── fddfile.h ├── sxsicd.c ├── sxsihdd.c ├── newdisk.h ├── sxsicd.h ├── fdd_xdf.h ├── fdd_d88.h └── fdd_mtr.h ├── font ├── font.c ├── font.h ├── fontx1.c ├── fontfm7.c ├── fontmake.c ├── fontpc88.c ├── fontpc98.c ├── fontv98.c ├── fontx68k.c ├── readme.txt └── fontmake.h ├── keystat.tbl ├── lio ├── gcircle.c ├── gline.c └── gput1.c ├── sound ├── pcm86.h ├── s98.c ├── s98.h ├── sound.c ├── fmboard.c ├── pcm86c.c ├── pcm86g.c ├── getsnd │ ├── getsmix.c │ ├── getsnd.c │ ├── getsnd.h │ └── getwave.c ├── opntimer.h ├── soundrom.h ├── sndcsec.c └── rhythm.h ├── win9x ├── dosio.h ├── ini.cpp ├── ini.h ├── menu.h ├── np2.cpp ├── np2.dsp ├── commng.h ├── dosio.cpp ├── menu.cpp ├── np21.dsp ├── np21.dsw ├── np2arg.h ├── scrnmng.h ├── sysmng.h ├── timemng.h ├── commng.cpp ├── compiler.cpp ├── fontmng.cpp ├── misc │ ├── guard.h │ ├── trace.h │ ├── DlgProc.h │ ├── WndBase.h │ ├── WndProc.h │ ├── extrom.h │ ├── trace.cpp │ ├── tstring.h │ ├── DlgProc.cpp │ ├── PropProc.cpp │ ├── PropProc.h │ ├── WndProc.cpp │ ├── extrom.cpp │ ├── threadbase.h │ ├── tstring.cpp │ ├── vc6macros.h │ ├── threadbase.cpp │ ├── tickcounter.h │ └── tickcounter.cpp ├── np2arg.cpp ├── readme.txt ├── recvideo.cpp ├── recvideo.h ├── scrnmng.cpp ├── soundmng.cpp ├── soundmng.h ├── subwnd │ ├── dd2.h │ ├── dd2.cpp │ ├── dclock.cpp │ ├── dclock.h │ ├── kdispwnd.h │ ├── mdbgwnd.h │ ├── skbdwnd.h │ ├── subwnd.cpp │ ├── subwnd.h │ ├── toolwnd.h │ ├── kdispwnd.cpp │ ├── mdbgwnd.cpp │ ├── skbdwnd.cpp │ ├── toolwnd.cpp │ └── toolwnd.res ├── winkbd.cpp ├── winloc.cpp ├── ext │ ├── mt32snd.h │ ├── externalopm.h │ ├── externalpsg.h │ ├── mt32snd.cpp │ ├── romeo │ │ ├── romeo.h │ │ ├── juliet.h │ │ └── juliet.cpp │ ├── scci │ │ ├── scci.h │ │ ├── scciif.h │ │ └── scciif.cpp │ ├── c86ctl │ │ ├── c86ctl.h │ │ ├── c86ctlif.h │ │ ├── c86ctlif.cpp │ │ └── cbus_boardtype.h │ ├── externalopl3.h │ ├── externalopm.cpp │ ├── externalopna.h │ ├── externalpsg.cpp │ ├── externalopl3.cpp │ ├── externalopna.cpp │ ├── externalchipmanager.cpp │ └── externalchipmanager.h ├── commng │ ├── cmbase.cpp │ ├── cmbase.h │ ├── cmmidi.cpp │ ├── cmmidi.h │ ├── cmnull.cpp │ ├── cmnull.h │ ├── cmpara.cpp │ ├── cmpara.h │ ├── cmserial.h │ ├── cmmidiin32.h │ ├── cmmidiout.h │ ├── cmserial.cpp │ ├── cmmidiin32.cpp │ ├── cmmidiout32.cpp │ ├── cmmidiout32.h │ ├── cmmidioutvst.h │ ├── cmmidioutvst.cpp │ ├── cmmidioutmt32sound.h │ ├── cmmidioutvermouth.h │ ├── vsthost │ │ ├── vstbuffer.h │ │ ├── vsteditwnd.h │ │ ├── vsteffect.h │ │ ├── vstbuffer.cpp │ │ ├── vsteditwnd.cpp │ │ ├── vsteffect.cpp │ │ ├── vstmidievent.h │ │ ├── vsteditwndbase.h │ │ └── vstmidievent.cpp │ ├── cmmidioutmt32sound.cpp │ └── cmmidioutvermouth.cpp ├── debuguty │ ├── viewer.h │ ├── view1mb.h │ ├── viewasm.h │ ├── viewer.cpp │ ├── viewitem.h │ ├── viewmem.h │ ├── viewreg.h │ ├── viewseg.h │ ├── viewsnd.h │ ├── view1mb.cpp │ ├── viewasm.cpp │ ├── viewitem.cpp │ ├── viewmem.cpp │ ├── viewreg.cpp │ ├── viewseg.cpp │ └── viewsnd.cpp ├── dialog │ ├── c_dipsw.h │ ├── c_midi.cpp │ ├── c_midi.h │ ├── d_bmp.cpp │ ├── d_clnd.cpp │ ├── d_disk.cpp │ ├── d_font.cpp │ ├── dialog.h │ ├── np2class.h │ ├── c_dipsw.cpp │ ├── d_about.cpp │ ├── d_config.cpp │ ├── d_mpu98.cpp │ ├── d_screen.cpp │ ├── d_serial.cpp │ ├── d_sound.cpp │ ├── c_combodata.cpp │ ├── c_combodata.h │ ├── c_slidervalue.h │ ├── d_soundlog.cpp │ └── c_slidervalue.cpp ├── np21vs2005.vcproj ├── np21vs2008.vcproj ├── np2vs2005.vcproj ├── np2vs2008.vcproj ├── resources │ ├── 932 │ │ ├── np2.rc │ │ ├── np2.rc2 │ │ ├── np2_932.dsp │ │ ├── np2vs2005_932.vcproj │ │ └── np2vs2008_932.vcproj │ ├── 936 │ │ ├── np2.rc │ │ ├── np2.rc2 │ │ ├── np2_936.dsp │ │ ├── np2vs2005_936.vcproj │ │ └── np2vs2008_936.vcproj │ ├── 950 │ │ ├── np2.rc │ │ ├── np2.rc2 │ │ ├── np2_950.dsp │ │ ├── np2vs2005_950.vcproj │ │ └── np2vs2008_950.vcproj │ ├── 1252 │ │ ├── np2.rc │ │ ├── np2_1252.dsp │ │ ├── np2vs2005_1252.vcproj │ │ └── np2vs2008_1252.vcproj │ ├── np2.ico │ ├── fddseek.wav │ ├── fddseek1.wav │ ├── nekop2.bmp │ ├── np2debug.ico │ ├── np2tool.bmp │ ├── resource.dsw │ ├── resource.cpp │ ├── np2.mnf │ ├── np21.mnf │ ├── np2x64.mnf │ └── np21x64.mnf ├── soundmng │ ├── sdasio.h │ ├── sdbase.h │ ├── sdasio.cpp │ ├── sdwasapi.h │ ├── sddsound3.cpp │ ├── sddsound3.h │ ├── sdwasapi.cpp │ └── asio │ │ ├── asiosdk.h │ │ ├── asiodriverlist.cpp │ │ └── asiodriverlist.h ├── x64 │ ├── makegrph.x64 │ ├── pccore.inc │ └── vram.inc ├── x86 │ ├── makegrph.x86 │ ├── pccore.inc │ ├── cputype.h │ ├── np2asm.inc │ ├── vram.inc │ └── cputype.x86 ├── taskmng.cpp ├── taskmng.h ├── timemng.cpp ├── joymng.h ├── winkbd.h ├── np2.dsw ├── mousemng.h └── fontmng.h ├── common ├── milstr.c ├── milstr.h ├── arcunzip.h ├── mimpidef.h ├── textfile.h ├── wavefile.h ├── parts.h ├── resize.h └── lstarray.h ├── embed ├── vrammix.c ├── readme.txt ├── menu │ ├── filesel.c │ ├── filesel.h │ ├── menustr.h │ ├── dlgscr.h │ ├── dlgcfg.h │ └── dlgabout.h └── menubase │ ├── menudlg.c │ ├── menudlg.h │ ├── menures.c │ ├── menusys.c │ ├── menudeco.inc │ ├── menumbox.h │ └── menuicon.h ├── generic ├── cmver.c ├── cmver.h ├── unasm.c ├── dipswbmp.h ├── hostdrv.c ├── hostdrvs.c ├── hostdrvs.h ├── keydisp.c ├── readme.txt ├── hostdrv.tbl ├── keydisp.res ├── softkbd.res ├── softkbd3.res ├── cmjasts.h ├── unasm.h ├── np2info.h └── softkbd.h ├── i386c ├── cpumem.h ├── ia32 │ └── ia32weak.txt ├── cpucore.h ├── x64 │ └── cpucore.inc └── x86 │ └── cpucore.inc ├── trap ├── inttrap.c ├── steptrap.c ├── inttrap.h └── steptrap.h ├── vram ├── maketext.c ├── maketext.h ├── maketgrp.c ├── palettes.c ├── scrndraw.c ├── scrnsave.c ├── sdraw.mcr ├── sdrawq16.c ├── sdrawex.mcr ├── makegrex.h ├── maketgrp.h ├── makegrph.h ├── vram.c ├── dispsync.h ├── sdraw.h └── scrndraw.h ├── codecnv ├── codecnv.h ├── textcnv.h ├── tcswap16.c └── tcswap32.c ├── mem ├── x86 │ └── memegc.x86 ├── dmav30.h ├── dmax86.h ├── memems.h ├── memtram.h ├── memepp.h └── memegc.h ├── romimage ├── DEBUG.MAC ├── DIPSW.X86 ├── ITF.INC ├── SSP.X86 ├── DATASEG.INC ├── HDDBOOT.ASM ├── MEMCHK.X86 ├── SSP_DIP.X86 ├── SSP_MSW.X86 ├── SSP_RES.X86 ├── STARTUP.ASM ├── readme.txt ├── tool │ ├── BIN2TXT.LK │ ├── TXTPACK.LK │ ├── BIN2TXT.C │ ├── DOSIO.H │ ├── MIL.INC │ ├── TXTPACK.C │ ├── DOSIO32.ASM │ └── COMMON.H ├── FIRMWARE.X86 ├── KEYBOARD.INC ├── KEYBOARD.X86 ├── RESOURCE.TXT ├── SASIBIOS.ASM ├── TEXTDISP.X86 ├── ITFSUB.X86 ├── BIOS │ ├── VECT1A.X86 │ ├── EOI.X86 │ ├── VECT08.X86 │ └── VECT02.X86 ├── PC98.INC ├── MEMSW.X86 ├── PROCESS.MAC └── ITFD.MK ├── accessories ├── bin2txt.dsp ├── bin2txt.dsw ├── lzxpack.dsp ├── lzxpack.dsw └── textout.h ├── np2ver.h ├── timing.h ├── debugsub.h └── calendar.h /zlib/readme.txt: -------------------------------------------------------------------------------- 1 | 2 | - zlib 1.2.2 3 | 4 | -------------------------------------------------------------------------------- /i286x/i286xcts.h: -------------------------------------------------------------------------------- 1 | 2 | void _xcts(void); 3 | 4 | -------------------------------------------------------------------------------- /libretro/Makefile: -------------------------------------------------------------------------------- 1 | include Makefile.libretro 2 | -------------------------------------------------------------------------------- /libretro/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := all 2 | -------------------------------------------------------------------------------- /i286c/v30patch.h: -------------------------------------------------------------------------------- 1 | 2 | void v30cinit(void); 3 | 4 | -------------------------------------------------------------------------------- /i286x/v30patch.h: -------------------------------------------------------------------------------- 1 | 2 | void v30xinit(void); 3 | 4 | -------------------------------------------------------------------------------- /libretro-alt/Makefile: -------------------------------------------------------------------------------- 1 | include Makefile.libretro 2 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.o 2 | *.a 3 | *.dylib 4 | *.so 5 | *.dll 6 | -------------------------------------------------------------------------------- /android-project/jni/Android.mk: -------------------------------------------------------------------------------- 1 | include $(call all-subdir-makefiles) 2 | -------------------------------------------------------------------------------- /x11/oemtext.c: -------------------------------------------------------------------------------- 1 | #include "compiler.h" 2 | 3 | #include "oemtext.h" 4 | -------------------------------------------------------------------------------- /io/egc.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/io/egc.c -------------------------------------------------------------------------------- /io/fdc.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/io/fdc.c -------------------------------------------------------------------------------- /io/gdc.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/io/gdc.c -------------------------------------------------------------------------------- /io/pic.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/io/pic.c -------------------------------------------------------------------------------- /io/pit.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/io/pit.c -------------------------------------------------------------------------------- /libretro-alt/link.T: -------------------------------------------------------------------------------- 1 | { 2 | global: retro_*; 3 | local: *; 4 | }; 5 | 6 | -------------------------------------------------------------------------------- /libretro/link.T: -------------------------------------------------------------------------------- 1 | { 2 | global: retro_*; 3 | local: *; 4 | }; 5 | 6 | -------------------------------------------------------------------------------- /nevent.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/nevent.c -------------------------------------------------------------------------------- /nevent.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/nevent.h -------------------------------------------------------------------------------- /np2tool/NP2TOOL.INC: -------------------------------------------------------------------------------- 1 | 2 | NP2PORT equ 07efh 3 | FIXCS equ 2eh 4 | 5 | -------------------------------------------------------------------------------- /pccore.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/pccore.c -------------------------------------------------------------------------------- /pccore.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/pccore.h -------------------------------------------------------------------------------- /calendar.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/calendar.c -------------------------------------------------------------------------------- /io/cgrom.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/io/cgrom.c -------------------------------------------------------------------------------- /io/crtc.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/io/crtc.c -------------------------------------------------------------------------------- /io/dmac.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/io/dmac.c -------------------------------------------------------------------------------- /keystat.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/keystat.c -------------------------------------------------------------------------------- /keystat.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/keystat.h -------------------------------------------------------------------------------- /readme.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/readme.txt -------------------------------------------------------------------------------- /sdl2/ini.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/sdl2/ini.c -------------------------------------------------------------------------------- /statsave.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/statsave.c -------------------------------------------------------------------------------- /update.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/update.txt -------------------------------------------------------------------------------- /bios/bios.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/bios/bios.c -------------------------------------------------------------------------------- /bios/bios0c.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/bios/bios0c.c -------------------------------------------------------------------------------- /bios/bios18.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/bios/bios18.c -------------------------------------------------------------------------------- /bios/bios19.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/bios/bios19.c -------------------------------------------------------------------------------- /bios/bios1b.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/bios/bios1b.c -------------------------------------------------------------------------------- /cbus/amd98.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/cbus/amd98.c -------------------------------------------------------------------------------- /cbus/ideio.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/cbus/ideio.c -------------------------------------------------------------------------------- /cbus/ideio.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/cbus/ideio.h -------------------------------------------------------------------------------- /cbus/scsiio.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/cbus/scsiio.c -------------------------------------------------------------------------------- /debugsub386.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/debugsub386.c -------------------------------------------------------------------------------- /fdd/d88head.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/fdd/d88head.h -------------------------------------------------------------------------------- /fdd/fdd_d88.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/fdd/fdd_d88.c -------------------------------------------------------------------------------- /fdd/fdd_xdf.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/fdd/fdd_xdf.c -------------------------------------------------------------------------------- /fdd/fddfile.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/fdd/fddfile.h -------------------------------------------------------------------------------- /fdd/sxsicd.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/fdd/sxsicd.c -------------------------------------------------------------------------------- /fdd/sxsihdd.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/fdd/sxsihdd.c -------------------------------------------------------------------------------- /font/font.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/font/font.c -------------------------------------------------------------------------------- /font/font.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/font/font.h -------------------------------------------------------------------------------- /font/fontx1.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/font/fontx1.c -------------------------------------------------------------------------------- /i286c/i286c.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/i286c/i286c.c -------------------------------------------------------------------------------- /io/epsonio.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/io/epsonio.c -------------------------------------------------------------------------------- /io/fdd320.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/io/fdd320.c -------------------------------------------------------------------------------- /io/gdc_sub.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/io/gdc_sub.c -------------------------------------------------------------------------------- /io/iocore.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/io/iocore.h -------------------------------------------------------------------------------- /io/mouseif.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/io/mouseif.c -------------------------------------------------------------------------------- /io/np2sysp.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/io/np2sysp.c -------------------------------------------------------------------------------- /io/pcidev.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/io/pcidev.c -------------------------------------------------------------------------------- /io/pcidev.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/io/pcidev.h -------------------------------------------------------------------------------- /keystat.tbl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/keystat.tbl -------------------------------------------------------------------------------- /lio/gcircle.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/lio/gcircle.c -------------------------------------------------------------------------------- /lio/gline.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/lio/gline.c -------------------------------------------------------------------------------- /lio/gput1.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/lio/gput1.c -------------------------------------------------------------------------------- /sdl2/dosio.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/sdl2/dosio.c -------------------------------------------------------------------------------- /sdl2/dosio.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/sdl2/dosio.h -------------------------------------------------------------------------------- /sdl2/sysmng.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/sdl2/sysmng.h -------------------------------------------------------------------------------- /sound/pcm86.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/sound/pcm86.h -------------------------------------------------------------------------------- /sound/s98.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/sound/s98.c -------------------------------------------------------------------------------- /sound/s98.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/sound/s98.h -------------------------------------------------------------------------------- /sound/sound.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/sound/sound.c -------------------------------------------------------------------------------- /win9x/dosio.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/dosio.h -------------------------------------------------------------------------------- /win9x/ini.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/ini.cpp -------------------------------------------------------------------------------- /win9x/ini.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/ini.h -------------------------------------------------------------------------------- /win9x/menu.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/menu.h -------------------------------------------------------------------------------- /win9x/np2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/np2.cpp -------------------------------------------------------------------------------- /win9x/np2.dsp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/np2.dsp -------------------------------------------------------------------------------- /bios/sxsibios.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/bios/sxsibios.c -------------------------------------------------------------------------------- /cbus/atapicmd.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/cbus/atapicmd.c -------------------------------------------------------------------------------- /cbus/board14.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/cbus/board14.c -------------------------------------------------------------------------------- /cbus/mpu98ii.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/cbus/mpu98ii.h -------------------------------------------------------------------------------- /cbus/pcm86io.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/cbus/pcm86io.c -------------------------------------------------------------------------------- /cbus/scsicmd.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/cbus/scsicmd.c -------------------------------------------------------------------------------- /common/milstr.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/common/milstr.c -------------------------------------------------------------------------------- /common/milstr.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/common/milstr.h -------------------------------------------------------------------------------- /embed/vrammix.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/embed/vrammix.c -------------------------------------------------------------------------------- /font/fontfm7.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/font/fontfm7.c -------------------------------------------------------------------------------- /font/fontmake.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/font/fontmake.c -------------------------------------------------------------------------------- /font/fontpc88.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/font/fontpc88.c -------------------------------------------------------------------------------- /font/fontpc98.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/font/fontpc98.c -------------------------------------------------------------------------------- /font/fontv98.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/font/fontv98.c -------------------------------------------------------------------------------- /font/fontx68k.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/font/fontx68k.c -------------------------------------------------------------------------------- /font/readme.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/font/readme.txt -------------------------------------------------------------------------------- /generic/cmver.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/generic/cmver.c -------------------------------------------------------------------------------- /generic/cmver.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/generic/cmver.h -------------------------------------------------------------------------------- /generic/unasm.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/generic/unasm.c -------------------------------------------------------------------------------- /i286c/cpucore.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/i286c/cpucore.h -------------------------------------------------------------------------------- /i286c/cpumem.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/i286c/cpumem.h -------------------------------------------------------------------------------- /i286x/cpucore.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/i286x/cpucore.h -------------------------------------------------------------------------------- /i286x/cpumem.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/i286x/cpumem.h -------------------------------------------------------------------------------- /i286x/i286x.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/i286x/i286x.cpp -------------------------------------------------------------------------------- /i286x/i286x.mcr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/i286x/i286x.mcr -------------------------------------------------------------------------------- /i386c/cpumem.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/i386c/cpumem.h -------------------------------------------------------------------------------- /sdl2/inputmng.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/sdl2/inputmng.c -------------------------------------------------------------------------------- /sdl2/timemng.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/sdl2/timemng.h -------------------------------------------------------------------------------- /sound/fmboard.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/sound/fmboard.c -------------------------------------------------------------------------------- /sound/pcm86c.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/sound/pcm86c.c -------------------------------------------------------------------------------- /sound/pcm86g.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/sound/pcm86g.c -------------------------------------------------------------------------------- /trap/inttrap.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/trap/inttrap.c -------------------------------------------------------------------------------- /trap/steptrap.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/trap/steptrap.c -------------------------------------------------------------------------------- /vram/maketext.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/vram/maketext.c -------------------------------------------------------------------------------- /vram/maketext.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/vram/maketext.h -------------------------------------------------------------------------------- /vram/maketgrp.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/vram/maketgrp.c -------------------------------------------------------------------------------- /vram/palettes.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/vram/palettes.c -------------------------------------------------------------------------------- /vram/scrndraw.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/vram/scrndraw.c -------------------------------------------------------------------------------- /vram/scrnsave.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/vram/scrnsave.c -------------------------------------------------------------------------------- /vram/sdraw.mcr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/vram/sdraw.mcr -------------------------------------------------------------------------------- /vram/sdrawq16.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/vram/sdrawq16.c -------------------------------------------------------------------------------- /win9x/commng.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/commng.h -------------------------------------------------------------------------------- /win9x/dosio.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/dosio.cpp -------------------------------------------------------------------------------- /win9x/menu.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/menu.cpp -------------------------------------------------------------------------------- /win9x/np21.dsp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/np21.dsp -------------------------------------------------------------------------------- /win9x/np21.dsw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/np21.dsw -------------------------------------------------------------------------------- /win9x/np2arg.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/np2arg.h -------------------------------------------------------------------------------- /win9x/scrnmng.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/scrnmng.h -------------------------------------------------------------------------------- /win9x/sysmng.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/sysmng.h -------------------------------------------------------------------------------- /win9x/timemng.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/timemng.h -------------------------------------------------------------------------------- /x11/fontmng.c: -------------------------------------------------------------------------------- 1 | #include "compiler.h" 2 | 3 | #include "np2.h" 4 | #include "fontmng.h" 5 | -------------------------------------------------------------------------------- /bios/keytable.res: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/bios/keytable.res -------------------------------------------------------------------------------- /codecnv/codecnv.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/codecnv/codecnv.h -------------------------------------------------------------------------------- /codecnv/textcnv.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/codecnv/textcnv.h -------------------------------------------------------------------------------- /embed/readme.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/embed/readme.txt -------------------------------------------------------------------------------- /generic/dipswbmp.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/generic/dipswbmp.h -------------------------------------------------------------------------------- /generic/hostdrv.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/generic/hostdrv.c -------------------------------------------------------------------------------- /generic/hostdrvs.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/generic/hostdrvs.c -------------------------------------------------------------------------------- /generic/hostdrvs.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/generic/hostdrvs.h -------------------------------------------------------------------------------- /generic/keydisp.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/generic/keydisp.c -------------------------------------------------------------------------------- /generic/readme.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/generic/readme.txt -------------------------------------------------------------------------------- /i286c/i286c_ea.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/i286c/i286c_ea.c -------------------------------------------------------------------------------- /i286c/i286c_mn.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/i286c/i286c_mn.c -------------------------------------------------------------------------------- /i286c/i286c_sf.mcr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/i286c/i286c_sf.mcr -------------------------------------------------------------------------------- /i286x/i286xadr.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/i286x/i286xadr.cpp -------------------------------------------------------------------------------- /i286x/i286xcts.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/i286x/i286xcts.cpp -------------------------------------------------------------------------------- /libretro-alt/ini.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/libretro-alt/ini.c -------------------------------------------------------------------------------- /mem/x86/memegc.x86: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/mem/x86/memegc.x86 -------------------------------------------------------------------------------- /romimage/DEBUG.MAC: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/romimage/DEBUG.MAC -------------------------------------------------------------------------------- /romimage/DIPSW.X86: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/romimage/DIPSW.X86 -------------------------------------------------------------------------------- /romimage/ITF.INC: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/romimage/ITF.INC -------------------------------------------------------------------------------- /romimage/SSP.X86: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/romimage/SSP.X86 -------------------------------------------------------------------------------- /sdl2/iOS/Icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/sdl2/iOS/Icon.png -------------------------------------------------------------------------------- /sdl2/win32/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/sdl2/win32/main.c -------------------------------------------------------------------------------- /vram/sdrawex.mcr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/vram/sdrawex.mcr -------------------------------------------------------------------------------- /win9x/commng.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/commng.cpp -------------------------------------------------------------------------------- /win9x/compiler.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/compiler.cpp -------------------------------------------------------------------------------- /win9x/fontmng.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/fontmng.cpp -------------------------------------------------------------------------------- /win9x/misc/guard.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/misc/guard.h -------------------------------------------------------------------------------- /win9x/misc/trace.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/misc/trace.h -------------------------------------------------------------------------------- /win9x/np2arg.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/np2arg.cpp -------------------------------------------------------------------------------- /win9x/readme.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/readme.txt -------------------------------------------------------------------------------- /win9x/recvideo.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/recvideo.cpp -------------------------------------------------------------------------------- /win9x/recvideo.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/recvideo.h -------------------------------------------------------------------------------- /win9x/scrnmng.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/scrnmng.cpp -------------------------------------------------------------------------------- /win9x/soundmng.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/soundmng.cpp -------------------------------------------------------------------------------- /win9x/soundmng.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/soundmng.h -------------------------------------------------------------------------------- /win9x/subwnd/dd2.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/subwnd/dd2.h -------------------------------------------------------------------------------- /win9x/winkbd.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/winkbd.cpp -------------------------------------------------------------------------------- /win9x/winloc.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/winloc.cpp -------------------------------------------------------------------------------- /embed/menu/filesel.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/embed/menu/filesel.c -------------------------------------------------------------------------------- /generic/hostdrv.tbl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/generic/hostdrv.tbl -------------------------------------------------------------------------------- /generic/keydisp.res: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/generic/keydisp.res -------------------------------------------------------------------------------- /generic/softkbd.res: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/generic/softkbd.res -------------------------------------------------------------------------------- /generic/softkbd3.res: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/generic/softkbd3.res -------------------------------------------------------------------------------- /libretro-alt/dosio.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/libretro-alt/dosio.c -------------------------------------------------------------------------------- /libretro/shim/ini.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/libretro/shim/ini.c -------------------------------------------------------------------------------- /np2tool/GETBIOS.ASM: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/np2tool/GETBIOS.ASM -------------------------------------------------------------------------------- /np2tool/HOSTDRV.ASM: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/np2tool/HOSTDRV.ASM -------------------------------------------------------------------------------- /np2tool/POWEROFF.COM: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/np2tool/POWEROFF.COM -------------------------------------------------------------------------------- /np2tool/np2tool.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/np2tool/np2tool.zip -------------------------------------------------------------------------------- /romimage/DATASEG.INC: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/romimage/DATASEG.INC -------------------------------------------------------------------------------- /romimage/HDDBOOT.ASM: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/romimage/HDDBOOT.ASM -------------------------------------------------------------------------------- /romimage/MEMCHK.X86: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/romimage/MEMCHK.X86 -------------------------------------------------------------------------------- /romimage/SSP_DIP.X86: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/romimage/SSP_DIP.X86 -------------------------------------------------------------------------------- /romimage/SSP_MSW.X86: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/romimage/SSP_MSW.X86 -------------------------------------------------------------------------------- /romimage/SSP_RES.X86: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/romimage/SSP_RES.X86 -------------------------------------------------------------------------------- /romimage/STARTUP.ASM: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/romimage/STARTUP.ASM -------------------------------------------------------------------------------- /romimage/readme.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/romimage/readme.txt -------------------------------------------------------------------------------- /romimage/tool/BIN2TXT.LK: -------------------------------------------------------------------------------- 1 | ..\..\obj\romtool\bin2txt+ 2 | ..\..\obj\romtool\dosio32 3 | ..\bin2txt; 4 | -------------------------------------------------------------------------------- /romimage/tool/TXTPACK.LK: -------------------------------------------------------------------------------- 1 | ..\..\obj\romtool\txtpack+ 2 | ..\..\obj\romtool\dosio32 3 | ..\txtpack; 4 | -------------------------------------------------------------------------------- /sdl2/MacOSX/np2sdl2/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /sdl2/ext/scci/scci.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/sdl2/ext/scci/scci.h -------------------------------------------------------------------------------- /sdl2/iOS/Default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/sdl2/iOS/Default.png -------------------------------------------------------------------------------- /sdl2/iOS/Icon-72.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/sdl2/iOS/Icon-72.png -------------------------------------------------------------------------------- /win9x/ext/mt32snd.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/ext/mt32snd.h -------------------------------------------------------------------------------- /win9x/misc/DlgProc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/misc/DlgProc.h -------------------------------------------------------------------------------- /win9x/misc/WndBase.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/misc/WndBase.h -------------------------------------------------------------------------------- /win9x/misc/WndProc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/misc/WndProc.h -------------------------------------------------------------------------------- /win9x/misc/extrom.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/misc/extrom.h -------------------------------------------------------------------------------- /win9x/misc/trace.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/misc/trace.cpp -------------------------------------------------------------------------------- /win9x/misc/tstring.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/misc/tstring.h -------------------------------------------------------------------------------- /win9x/subwnd/dd2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/subwnd/dd2.cpp -------------------------------------------------------------------------------- /x11/ext/scci/scci.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/x11/ext/scci/scci.h -------------------------------------------------------------------------------- /accessories/bin2txt.dsp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/accessories/bin2txt.dsp -------------------------------------------------------------------------------- /accessories/bin2txt.dsw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/accessories/bin2txt.dsw -------------------------------------------------------------------------------- /accessories/lzxpack.dsp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/accessories/lzxpack.dsp -------------------------------------------------------------------------------- /accessories/lzxpack.dsw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/accessories/lzxpack.dsw -------------------------------------------------------------------------------- /i386c/ia32/ia32weak.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/i386c/ia32/ia32weak.txt -------------------------------------------------------------------------------- /libretro-alt/inputmng.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/libretro-alt/inputmng.c -------------------------------------------------------------------------------- /libretro-alt/sysmng.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/libretro-alt/sysmng.h -------------------------------------------------------------------------------- /libretro-alt/timemng.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/libretro-alt/timemng.h -------------------------------------------------------------------------------- /libretro/shim/sysmng.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/libretro/shim/sysmng.h -------------------------------------------------------------------------------- /libretro/shim/timemng.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/libretro/shim/timemng.h -------------------------------------------------------------------------------- /romimage/FIRMWARE.X86: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/romimage/FIRMWARE.X86 -------------------------------------------------------------------------------- /romimage/KEYBOARD.INC: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/romimage/KEYBOARD.INC -------------------------------------------------------------------------------- /romimage/KEYBOARD.X86: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/romimage/KEYBOARD.X86 -------------------------------------------------------------------------------- /romimage/RESOURCE.TXT: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/romimage/RESOURCE.TXT -------------------------------------------------------------------------------- /romimage/SASIBIOS.ASM: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/romimage/SASIBIOS.ASM -------------------------------------------------------------------------------- /romimage/TEXTDISP.X86: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/romimage/TEXTDISP.X86 -------------------------------------------------------------------------------- /romimage/tool/BIN2TXT.C: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/romimage/tool/BIN2TXT.C -------------------------------------------------------------------------------- /romimage/tool/DOSIO.H: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/romimage/tool/DOSIO.H -------------------------------------------------------------------------------- /romimage/tool/MIL.INC: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/romimage/tool/MIL.INC -------------------------------------------------------------------------------- /romimage/tool/TXTPACK.C: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/romimage/tool/TXTPACK.C -------------------------------------------------------------------------------- /sdl2/ext/externalopl3.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/sdl2/ext/externalopl3.h -------------------------------------------------------------------------------- /sdl2/ext/externalopm.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/sdl2/ext/externalopm.h -------------------------------------------------------------------------------- /sdl2/ext/externalopna.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/sdl2/ext/externalopna.h -------------------------------------------------------------------------------- /sdl2/ext/externalpsg.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/sdl2/ext/externalpsg.h -------------------------------------------------------------------------------- /sdl2/ext/scci/scciif.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/sdl2/ext/scci/scciif.h -------------------------------------------------------------------------------- /sdl2/win32/compiler.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/sdl2/win32/compiler.c -------------------------------------------------------------------------------- /sdl2/win32/misc/guard.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/sdl2/win32/misc/guard.h -------------------------------------------------------------------------------- /sdl2/win32/misc/tty.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/sdl2/win32/misc/tty.cpp -------------------------------------------------------------------------------- /sdl2/win32/misc/tty.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/sdl2/win32/misc/tty.h -------------------------------------------------------------------------------- /sound/getsnd/getsmix.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/sound/getsnd/getsmix.c -------------------------------------------------------------------------------- /sound/getsnd/getsnd.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/sound/getsnd/getsnd.c -------------------------------------------------------------------------------- /sound/getsnd/getsnd.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/sound/getsnd/getsnd.h -------------------------------------------------------------------------------- /sound/getsnd/getwave.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/sound/getsnd/getwave.c -------------------------------------------------------------------------------- /win9x/commng/cmbase.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/commng/cmbase.cpp -------------------------------------------------------------------------------- /win9x/commng/cmbase.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/commng/cmbase.h -------------------------------------------------------------------------------- /win9x/commng/cmmidi.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/commng/cmmidi.cpp -------------------------------------------------------------------------------- /win9x/commng/cmmidi.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/commng/cmmidi.h -------------------------------------------------------------------------------- /win9x/commng/cmnull.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/commng/cmnull.cpp -------------------------------------------------------------------------------- /win9x/commng/cmnull.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/commng/cmnull.h -------------------------------------------------------------------------------- /win9x/commng/cmpara.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/commng/cmpara.cpp -------------------------------------------------------------------------------- /win9x/commng/cmpara.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/commng/cmpara.h -------------------------------------------------------------------------------- /win9x/commng/cmserial.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/commng/cmserial.h -------------------------------------------------------------------------------- /win9x/debuguty/viewer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/debuguty/viewer.h -------------------------------------------------------------------------------- /win9x/dialog/c_dipsw.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/dialog/c_dipsw.h -------------------------------------------------------------------------------- /win9x/dialog/c_midi.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/dialog/c_midi.cpp -------------------------------------------------------------------------------- /win9x/dialog/c_midi.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/dialog/c_midi.h -------------------------------------------------------------------------------- /win9x/dialog/d_bmp.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/dialog/d_bmp.cpp -------------------------------------------------------------------------------- /win9x/dialog/d_clnd.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/dialog/d_clnd.cpp -------------------------------------------------------------------------------- /win9x/dialog/d_disk.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/dialog/d_disk.cpp -------------------------------------------------------------------------------- /win9x/dialog/d_font.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/dialog/d_font.cpp -------------------------------------------------------------------------------- /win9x/dialog/dialog.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/dialog/dialog.h -------------------------------------------------------------------------------- /win9x/dialog/np2class.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/dialog/np2class.h -------------------------------------------------------------------------------- /win9x/ext/externalopm.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/ext/externalopm.h -------------------------------------------------------------------------------- /win9x/ext/externalpsg.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/ext/externalpsg.h -------------------------------------------------------------------------------- /win9x/ext/mt32snd.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/ext/mt32snd.cpp -------------------------------------------------------------------------------- /win9x/ext/romeo/romeo.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/ext/romeo/romeo.h -------------------------------------------------------------------------------- /win9x/ext/scci/scci.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/ext/scci/scci.h -------------------------------------------------------------------------------- /win9x/ext/scci/scciif.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/ext/scci/scciif.h -------------------------------------------------------------------------------- /win9x/misc/DlgProc.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/misc/DlgProc.cpp -------------------------------------------------------------------------------- /win9x/misc/PropProc.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/misc/PropProc.cpp -------------------------------------------------------------------------------- /win9x/misc/PropProc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/misc/PropProc.h -------------------------------------------------------------------------------- /win9x/misc/WndProc.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/misc/WndProc.cpp -------------------------------------------------------------------------------- /win9x/misc/extrom.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/misc/extrom.cpp -------------------------------------------------------------------------------- /win9x/misc/threadbase.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/misc/threadbase.h -------------------------------------------------------------------------------- /win9x/misc/tstring.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/misc/tstring.cpp -------------------------------------------------------------------------------- /win9x/misc/vc6macros.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/misc/vc6macros.h -------------------------------------------------------------------------------- /win9x/np21vs2005.vcproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/np21vs2005.vcproj -------------------------------------------------------------------------------- /win9x/np21vs2008.vcproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/np21vs2008.vcproj -------------------------------------------------------------------------------- /win9x/np2vs2005.vcproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/np2vs2005.vcproj -------------------------------------------------------------------------------- /win9x/np2vs2008.vcproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/np2vs2008.vcproj -------------------------------------------------------------------------------- /win9x/resources/np2.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/resources/np2.ico -------------------------------------------------------------------------------- /win9x/soundmng/sdasio.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/soundmng/sdasio.h -------------------------------------------------------------------------------- /win9x/soundmng/sdbase.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/soundmng/sdbase.h -------------------------------------------------------------------------------- /win9x/subwnd/dclock.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/subwnd/dclock.cpp -------------------------------------------------------------------------------- /win9x/subwnd/dclock.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/subwnd/dclock.h -------------------------------------------------------------------------------- /win9x/subwnd/kdispwnd.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/subwnd/kdispwnd.h -------------------------------------------------------------------------------- /win9x/subwnd/mdbgwnd.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/subwnd/mdbgwnd.h -------------------------------------------------------------------------------- /win9x/subwnd/skbdwnd.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/subwnd/skbdwnd.h -------------------------------------------------------------------------------- /win9x/subwnd/subwnd.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/subwnd/subwnd.cpp -------------------------------------------------------------------------------- /win9x/subwnd/subwnd.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/subwnd/subwnd.h -------------------------------------------------------------------------------- /win9x/subwnd/toolwnd.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/subwnd/toolwnd.h -------------------------------------------------------------------------------- /win9x/x64/makegrph.x64: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/x64/makegrph.x64 -------------------------------------------------------------------------------- /win9x/x86/makegrph.x86: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/x86/makegrph.x86 -------------------------------------------------------------------------------- /x11/ext/externalopl3.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/x11/ext/externalopl3.h -------------------------------------------------------------------------------- /x11/ext/externalopm.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/x11/ext/externalopm.cpp -------------------------------------------------------------------------------- /x11/ext/externalopm.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/x11/ext/externalopm.h -------------------------------------------------------------------------------- /x11/ext/externalopna.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/x11/ext/externalopna.h -------------------------------------------------------------------------------- /x11/ext/externalpsg.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/x11/ext/externalpsg.cpp -------------------------------------------------------------------------------- /x11/ext/externalpsg.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/x11/ext/externalpsg.h -------------------------------------------------------------------------------- /x11/ext/scci/scciif.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/x11/ext/scci/scciif.cpp -------------------------------------------------------------------------------- /x11/ext/scci/scciif.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/x11/ext/scci/scciif.h -------------------------------------------------------------------------------- /embed/menubase/menudlg.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/embed/menubase/menudlg.c -------------------------------------------------------------------------------- /embed/menubase/menudlg.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/embed/menubase/menudlg.h -------------------------------------------------------------------------------- /embed/menubase/menures.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/embed/menubase/menures.c -------------------------------------------------------------------------------- /embed/menubase/menusys.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/embed/menubase/menusys.c -------------------------------------------------------------------------------- /libretro/shim/inputmng.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/libretro/shim/inputmng.c -------------------------------------------------------------------------------- /romimage/tool/DOSIO32.ASM: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/romimage/tool/DOSIO32.ASM -------------------------------------------------------------------------------- /sdl2/ext/externalopl3.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/sdl2/ext/externalopl3.cpp -------------------------------------------------------------------------------- /sdl2/ext/externalopm.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/sdl2/ext/externalopm.cpp -------------------------------------------------------------------------------- /sdl2/ext/externalopna.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/sdl2/ext/externalopna.cpp -------------------------------------------------------------------------------- /sdl2/ext/externalpsg.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/sdl2/ext/externalpsg.cpp -------------------------------------------------------------------------------- /sdl2/ext/scci/scciif.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/sdl2/ext/scci/scciif.cpp -------------------------------------------------------------------------------- /sdl2/win32/misc/usbdev.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/sdl2/win32/misc/usbdev.h -------------------------------------------------------------------------------- /sdl2/win32/np2sdl2.vcproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/sdl2/win32/np2sdl2.vcproj -------------------------------------------------------------------------------- /win9x/commng/cmmidiin32.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/commng/cmmidiin32.h -------------------------------------------------------------------------------- /win9x/commng/cmmidiout.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/commng/cmmidiout.h -------------------------------------------------------------------------------- /win9x/commng/cmserial.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/commng/cmserial.cpp -------------------------------------------------------------------------------- /win9x/debuguty/view1mb.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/debuguty/view1mb.h -------------------------------------------------------------------------------- /win9x/debuguty/viewasm.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/debuguty/viewasm.h -------------------------------------------------------------------------------- /win9x/debuguty/viewer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/debuguty/viewer.cpp -------------------------------------------------------------------------------- /win9x/debuguty/viewitem.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/debuguty/viewitem.h -------------------------------------------------------------------------------- /win9x/debuguty/viewmem.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/debuguty/viewmem.h -------------------------------------------------------------------------------- /win9x/debuguty/viewreg.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/debuguty/viewreg.h -------------------------------------------------------------------------------- /win9x/debuguty/viewseg.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/debuguty/viewseg.h -------------------------------------------------------------------------------- /win9x/debuguty/viewsnd.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/debuguty/viewsnd.h -------------------------------------------------------------------------------- /win9x/dialog/c_dipsw.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/dialog/c_dipsw.cpp -------------------------------------------------------------------------------- /win9x/dialog/d_about.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/dialog/d_about.cpp -------------------------------------------------------------------------------- /win9x/dialog/d_config.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/dialog/d_config.cpp -------------------------------------------------------------------------------- /win9x/dialog/d_mpu98.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/dialog/d_mpu98.cpp -------------------------------------------------------------------------------- /win9x/dialog/d_screen.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/dialog/d_screen.cpp -------------------------------------------------------------------------------- /win9x/dialog/d_serial.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/dialog/d_serial.cpp -------------------------------------------------------------------------------- /win9x/dialog/d_sound.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/dialog/d_sound.cpp -------------------------------------------------------------------------------- /win9x/ext/c86ctl/c86ctl.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/ext/c86ctl/c86ctl.h -------------------------------------------------------------------------------- /win9x/ext/externalopl3.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/ext/externalopl3.h -------------------------------------------------------------------------------- /win9x/ext/externalopm.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/ext/externalopm.cpp -------------------------------------------------------------------------------- /win9x/ext/externalopna.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/ext/externalopna.h -------------------------------------------------------------------------------- /win9x/ext/externalpsg.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/ext/externalpsg.cpp -------------------------------------------------------------------------------- /win9x/ext/romeo/juliet.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/ext/romeo/juliet.h -------------------------------------------------------------------------------- /win9x/ext/scci/scciif.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/ext/scci/scciif.cpp -------------------------------------------------------------------------------- /win9x/misc/threadbase.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/misc/threadbase.cpp -------------------------------------------------------------------------------- /win9x/misc/tickcounter.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/misc/tickcounter.h -------------------------------------------------------------------------------- /win9x/soundmng/sdasio.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/soundmng/sdasio.cpp -------------------------------------------------------------------------------- /win9x/soundmng/sdwasapi.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/soundmng/sdwasapi.h -------------------------------------------------------------------------------- /win9x/subwnd/kdispwnd.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/subwnd/kdispwnd.cpp -------------------------------------------------------------------------------- /win9x/subwnd/mdbgwnd.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/subwnd/mdbgwnd.cpp -------------------------------------------------------------------------------- /win9x/subwnd/skbdwnd.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/subwnd/skbdwnd.cpp -------------------------------------------------------------------------------- /win9x/subwnd/toolwnd.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/subwnd/toolwnd.cpp -------------------------------------------------------------------------------- /win9x/subwnd/toolwnd.res: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/subwnd/toolwnd.res -------------------------------------------------------------------------------- /x11/ext/c86ctl/c86ctlif.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/x11/ext/c86ctl/c86ctlif.h -------------------------------------------------------------------------------- /x11/ext/externalopl3.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/x11/ext/externalopl3.cpp -------------------------------------------------------------------------------- /x11/ext/externalopna.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/x11/ext/externalopna.cpp -------------------------------------------------------------------------------- /x11/resources/fddseek.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/x11/resources/fddseek.wav -------------------------------------------------------------------------------- /embed/menubase/menudeco.inc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/embed/menubase/menudeco.inc -------------------------------------------------------------------------------- /libretro-alt/ext/scci/scci.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/libretro-alt/ext/scci/scci.h -------------------------------------------------------------------------------- /libretro/oldfileio/dosio.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/libretro/oldfileio/dosio.c -------------------------------------------------------------------------------- /libretro/oldfileio/dosio.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/libretro/oldfileio/dosio.h -------------------------------------------------------------------------------- /sdl2/MacOSX/np2sdl2/np2.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/sdl2/MacOSX/np2sdl2/np2.icns -------------------------------------------------------------------------------- /sdl2/ext/c86ctl/c86ctlif.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/sdl2/ext/c86ctl/c86ctlif.cpp -------------------------------------------------------------------------------- /sdl2/ext/c86ctl/c86ctlif.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/sdl2/ext/c86ctl/c86ctlif.h -------------------------------------------------------------------------------- /sdl2/iOS/Default-568h@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/sdl2/iOS/Default-568h@2x.png -------------------------------------------------------------------------------- /sdl2/win32/misc/threadbase.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/sdl2/win32/misc/threadbase.h -------------------------------------------------------------------------------- /sdl2/win32/misc/usbdev.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/sdl2/win32/misc/usbdev.cpp -------------------------------------------------------------------------------- /win9x/commng/cmmidiin32.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/commng/cmmidiin32.cpp -------------------------------------------------------------------------------- /win9x/commng/cmmidiout32.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/commng/cmmidiout32.cpp -------------------------------------------------------------------------------- /win9x/commng/cmmidiout32.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/commng/cmmidiout32.h -------------------------------------------------------------------------------- /win9x/commng/cmmidioutvst.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/commng/cmmidioutvst.h -------------------------------------------------------------------------------- /win9x/debuguty/view1mb.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/debuguty/view1mb.cpp -------------------------------------------------------------------------------- /win9x/debuguty/viewasm.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/debuguty/viewasm.cpp -------------------------------------------------------------------------------- /win9x/debuguty/viewitem.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/debuguty/viewitem.cpp -------------------------------------------------------------------------------- /win9x/debuguty/viewmem.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/debuguty/viewmem.cpp -------------------------------------------------------------------------------- /win9x/debuguty/viewreg.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/debuguty/viewreg.cpp -------------------------------------------------------------------------------- /win9x/debuguty/viewseg.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/debuguty/viewseg.cpp -------------------------------------------------------------------------------- /win9x/debuguty/viewsnd.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/debuguty/viewsnd.cpp -------------------------------------------------------------------------------- /win9x/dialog/c_combodata.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/dialog/c_combodata.cpp -------------------------------------------------------------------------------- /win9x/dialog/c_combodata.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/dialog/c_combodata.h -------------------------------------------------------------------------------- /win9x/dialog/c_slidervalue.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/dialog/c_slidervalue.h -------------------------------------------------------------------------------- /win9x/dialog/d_soundlog.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/dialog/d_soundlog.cpp -------------------------------------------------------------------------------- /win9x/ext/c86ctl/c86ctlif.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/ext/c86ctl/c86ctlif.h -------------------------------------------------------------------------------- /win9x/ext/externalopl3.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/ext/externalopl3.cpp -------------------------------------------------------------------------------- /win9x/ext/externalopna.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/ext/externalopna.cpp -------------------------------------------------------------------------------- /win9x/ext/romeo/juliet.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/ext/romeo/juliet.cpp -------------------------------------------------------------------------------- /win9x/misc/tickcounter.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/misc/tickcounter.cpp -------------------------------------------------------------------------------- /win9x/resources/1252/np2.rc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/resources/1252/np2.rc -------------------------------------------------------------------------------- /win9x/resources/932/np2.rc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/resources/932/np2.rc -------------------------------------------------------------------------------- /win9x/resources/932/np2.rc2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/resources/932/np2.rc2 -------------------------------------------------------------------------------- /win9x/resources/936/np2.rc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/resources/936/np2.rc -------------------------------------------------------------------------------- /win9x/resources/936/np2.rc2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/resources/936/np2.rc2 -------------------------------------------------------------------------------- /win9x/resources/950/np2.rc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/resources/950/np2.rc -------------------------------------------------------------------------------- /win9x/resources/950/np2.rc2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/resources/950/np2.rc2 -------------------------------------------------------------------------------- /win9x/resources/fddseek.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/resources/fddseek.wav -------------------------------------------------------------------------------- /win9x/resources/fddseek1.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/resources/fddseek1.wav -------------------------------------------------------------------------------- /win9x/resources/nekop2.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/resources/nekop2.bmp -------------------------------------------------------------------------------- /win9x/resources/np2debug.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/resources/np2debug.ico -------------------------------------------------------------------------------- /win9x/resources/np2tool.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/resources/np2tool.bmp -------------------------------------------------------------------------------- /win9x/resources/resource.dsw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/resources/resource.dsw -------------------------------------------------------------------------------- /win9x/soundmng/sddsound3.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/soundmng/sddsound3.cpp -------------------------------------------------------------------------------- /win9x/soundmng/sddsound3.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/soundmng/sddsound3.h -------------------------------------------------------------------------------- /win9x/soundmng/sdwasapi.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/soundmng/sdwasapi.cpp -------------------------------------------------------------------------------- /x11/ext/c86ctl/c86ctlif.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/x11/ext/c86ctl/c86ctlif.cpp -------------------------------------------------------------------------------- /x11/resources/fddseek1.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/x11/resources/fddseek1.wav -------------------------------------------------------------------------------- /libretro-alt/ext/externalopm.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/libretro-alt/ext/externalopm.h -------------------------------------------------------------------------------- /libretro-alt/ext/externalpsg.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/libretro-alt/ext/externalpsg.h -------------------------------------------------------------------------------- /libretro-alt/ext/scci/scciif.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/libretro-alt/ext/scci/scciif.h -------------------------------------------------------------------------------- /sdl2/ext/externalchipmanager.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/sdl2/ext/externalchipmanager.h -------------------------------------------------------------------------------- /sdl2/iOS/Default-Landscape.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/sdl2/iOS/Default-Landscape.png -------------------------------------------------------------------------------- /sdl2/win32/misc/threadbase.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/sdl2/win32/misc/threadbase.cpp -------------------------------------------------------------------------------- /win9x/commng/cmmidioutvst.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/commng/cmmidioutvst.cpp -------------------------------------------------------------------------------- /win9x/dialog/c_slidervalue.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/dialog/c_slidervalue.cpp -------------------------------------------------------------------------------- /win9x/ext/c86ctl/c86ctlif.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/ext/c86ctl/c86ctlif.cpp -------------------------------------------------------------------------------- /win9x/soundmng/asio/asiosdk.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/soundmng/asio/asiosdk.h -------------------------------------------------------------------------------- /x11/ext/externalchipmanager.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/x11/ext/externalchipmanager.h -------------------------------------------------------------------------------- /i286x/i286xadr.h: -------------------------------------------------------------------------------- 1 | 2 | extern I286TBL p_ea_dst[256]; 3 | extern I286TBL p_lea[256]; 4 | extern I286TBL p_get_ea[256]; 5 | 6 | -------------------------------------------------------------------------------- /libretro-alt/ext/externalopl3.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/libretro-alt/ext/externalopl3.cpp -------------------------------------------------------------------------------- /libretro-alt/ext/externalopl3.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/libretro-alt/ext/externalopl3.h -------------------------------------------------------------------------------- /libretro-alt/ext/externalopm.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/libretro-alt/ext/externalopm.cpp -------------------------------------------------------------------------------- /libretro-alt/ext/externalopna.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/libretro-alt/ext/externalopna.cpp -------------------------------------------------------------------------------- /libretro-alt/ext/externalopna.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/libretro-alt/ext/externalopna.h -------------------------------------------------------------------------------- /libretro-alt/ext/externalpsg.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/libretro-alt/ext/externalpsg.cpp -------------------------------------------------------------------------------- /libretro-alt/ext/scci/scciif.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/libretro-alt/ext/scci/scciif.cpp -------------------------------------------------------------------------------- /sdl2/ext/externalchipmanager.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/sdl2/ext/externalchipmanager.cpp -------------------------------------------------------------------------------- /win9x/commng/cmmidioutmt32sound.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/commng/cmmidioutmt32sound.h -------------------------------------------------------------------------------- /win9x/commng/cmmidioutvermouth.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/commng/cmmidioutvermouth.h -------------------------------------------------------------------------------- /win9x/commng/vsthost/vstbuffer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/commng/vsthost/vstbuffer.h -------------------------------------------------------------------------------- /win9x/commng/vsthost/vsteditwnd.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/commng/vsthost/vsteditwnd.h -------------------------------------------------------------------------------- /win9x/commng/vsthost/vsteffect.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/commng/vsthost/vsteffect.h -------------------------------------------------------------------------------- /win9x/ext/c86ctl/cbus_boardtype.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/ext/c86ctl/cbus_boardtype.h -------------------------------------------------------------------------------- /win9x/ext/externalchipmanager.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/ext/externalchipmanager.cpp -------------------------------------------------------------------------------- /win9x/ext/externalchipmanager.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/ext/externalchipmanager.h -------------------------------------------------------------------------------- /win9x/resources/1252/np2_1252.dsp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/resources/1252/np2_1252.dsp -------------------------------------------------------------------------------- /win9x/resources/932/np2_932.dsp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/resources/932/np2_932.dsp -------------------------------------------------------------------------------- /win9x/resources/936/np2_936.dsp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/resources/936/np2_936.dsp -------------------------------------------------------------------------------- /win9x/resources/950/np2_950.dsp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/resources/950/np2_950.dsp -------------------------------------------------------------------------------- /x11/ext/externalchipmanager.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/x11/ext/externalchipmanager.cpp -------------------------------------------------------------------------------- /libretro-alt/ext/c86ctl/c86ctlif.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/libretro-alt/ext/c86ctl/c86ctlif.h -------------------------------------------------------------------------------- /win9x/commng/cmmidioutmt32sound.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/commng/cmmidioutmt32sound.cpp -------------------------------------------------------------------------------- /win9x/commng/cmmidioutvermouth.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/commng/cmmidioutvermouth.cpp -------------------------------------------------------------------------------- /win9x/commng/vsthost/vstbuffer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/commng/vsthost/vstbuffer.cpp -------------------------------------------------------------------------------- /win9x/commng/vsthost/vsteditwnd.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/commng/vsthost/vsteditwnd.cpp -------------------------------------------------------------------------------- /win9x/commng/vsthost/vsteffect.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/commng/vsthost/vsteffect.cpp -------------------------------------------------------------------------------- /win9x/commng/vsthost/vstmidievent.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/commng/vsthost/vstmidievent.h -------------------------------------------------------------------------------- /libretro-alt/ext/c86ctl/c86ctlif.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/libretro-alt/ext/c86ctl/c86ctlif.cpp -------------------------------------------------------------------------------- /libretro-alt/ext/externalchipmanager.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/libretro-alt/ext/externalchipmanager.h -------------------------------------------------------------------------------- /win9x/commng/vsthost/vsteditwndbase.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/commng/vsthost/vsteditwndbase.h -------------------------------------------------------------------------------- /win9x/commng/vsthost/vstmidievent.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/commng/vsthost/vstmidievent.cpp -------------------------------------------------------------------------------- /win9x/soundmng/asio/asiodriverlist.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/soundmng/asio/asiodriverlist.cpp -------------------------------------------------------------------------------- /win9x/soundmng/asio/asiodriverlist.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/soundmng/asio/asiodriverlist.h -------------------------------------------------------------------------------- /libretro-alt/ext/externalchipmanager.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/libretro-alt/ext/externalchipmanager.cpp -------------------------------------------------------------------------------- /win9x/resources/932/np2vs2005_932.vcproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/resources/932/np2vs2005_932.vcproj -------------------------------------------------------------------------------- /win9x/resources/932/np2vs2008_932.vcproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/resources/932/np2vs2008_932.vcproj -------------------------------------------------------------------------------- /win9x/resources/936/np2vs2005_936.vcproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/resources/936/np2vs2005_936.vcproj -------------------------------------------------------------------------------- /win9x/resources/936/np2vs2008_936.vcproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/resources/936/np2vs2008_936.vcproj -------------------------------------------------------------------------------- /win9x/resources/950/np2vs2005_950.vcproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/resources/950/np2vs2005_950.vcproj -------------------------------------------------------------------------------- /win9x/resources/950/np2vs2008_950.vcproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/resources/950/np2vs2008_950.vcproj -------------------------------------------------------------------------------- /win9x/resources/1252/np2vs2005_1252.vcproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/resources/1252/np2vs2005_1252.vcproj -------------------------------------------------------------------------------- /win9x/resources/1252/np2vs2008_1252.vcproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/win9x/resources/1252/np2vs2008_1252.vcproj -------------------------------------------------------------------------------- /libretro/emu_exports.h: -------------------------------------------------------------------------------- 1 | #ifndef EMUEXPORTS_ 2 | #define EMUEXPORTS_ 3 | 4 | #include "soundmgr.h" 5 | 6 | extern SOUNDMNG soundmng; 7 | 8 | #endif 9 | -------------------------------------------------------------------------------- /sdl2/joymng.c: -------------------------------------------------------------------------------- 1 | #include "compiler.h" 2 | #include "joymng.h" 3 | 4 | 5 | UINT8 joymng_getstat(void) { 6 | 7 | return(0xff); 8 | } 9 | 10 | -------------------------------------------------------------------------------- /mem/dmav30.h: -------------------------------------------------------------------------------- 1 | 2 | #ifdef __cplusplus 3 | extern "C" { 4 | #endif 5 | 6 | void dmav30(void); 7 | 8 | #ifdef __cplusplus 9 | } 10 | #endif 11 | 12 | -------------------------------------------------------------------------------- /mem/dmax86.h: -------------------------------------------------------------------------------- 1 | 2 | #ifdef __cplusplus 3 | extern "C" { 4 | #endif 5 | 6 | void dmax86(void); 7 | 8 | #ifdef __cplusplus 9 | } 10 | #endif 11 | 12 | -------------------------------------------------------------------------------- /sdl2/sdlkbd.h: -------------------------------------------------------------------------------- 1 | 2 | void sdlkbd_initialize(void); 3 | void sdlkbd_keydown(UINT key); 4 | void sdlkbd_keyup(UINT key); 5 | void sdlkbd_resetf12(void); 6 | 7 | -------------------------------------------------------------------------------- /win9x/x64/pccore.inc: -------------------------------------------------------------------------------- 1 | 2 | struc np2cfg_t 3 | .uPD72020 resb 1 4 | .DISPSYNC resb 1 5 | .RASTER resb 1 6 | .realpal resb 1 7 | endstruc 8 | 9 | -------------------------------------------------------------------------------- /win9x/x86/pccore.inc: -------------------------------------------------------------------------------- 1 | 2 | struc np2cfg_t 3 | .uPD72020 resb 1 4 | .DISPSYNC resb 1 5 | .RASTER resb 1 6 | .realpal resb 1 7 | endstruc 8 | 9 | -------------------------------------------------------------------------------- /android-project/res/drawable-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libretro/libretro-meowPC98/HEAD/android-project/res/drawable-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /io/cpuio.h: -------------------------------------------------------------------------------- 1 | 2 | #ifdef __cplusplus 3 | extern "C" { 4 | #endif 5 | 6 | void cpuio_bind(void); 7 | 8 | #ifdef __cplusplus 9 | } 10 | #endif 11 | 12 | -------------------------------------------------------------------------------- /libretro/sdlremap/sdl.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #define SDL_arraysize(x) (sizeof((x)) / sizeof((x)[0])) 4 | #define SDL_Quit() 5 | #define SDL_memset memset 6 | 7 | -------------------------------------------------------------------------------- /win9x/taskmng.cpp: -------------------------------------------------------------------------------- 1 | #include "compiler.h" 2 | #include "taskmng.h" 3 | 4 | 5 | void taskmng_exit(void) { 6 | 7 | PostQuitMessage(0); 8 | } 9 | 10 | -------------------------------------------------------------------------------- /libretro-alt/sdlkbd.h: -------------------------------------------------------------------------------- 1 | 2 | void sdlkbd_initialize(void); 3 | void sdlkbd_keydown(UINT key); 4 | void sdlkbd_keyup(UINT key); 5 | void sdlkbd_resetf12(void); 6 | 7 | -------------------------------------------------------------------------------- /sdl2/joymng.h: -------------------------------------------------------------------------------- 1 | 2 | #ifdef __cplusplus 3 | extern "C" { 4 | #endif 5 | 6 | UINT8 joymng_getstat(void); 7 | 8 | #ifdef __cplusplus 9 | } 10 | #endif 11 | 12 | -------------------------------------------------------------------------------- /win9x/taskmng.h: -------------------------------------------------------------------------------- 1 | 2 | #ifdef __cplusplus 3 | extern "C" { 4 | #endif 5 | 6 | void taskmng_exit(void); 7 | 8 | #ifdef __cplusplus 9 | } 10 | #endif 11 | 12 | -------------------------------------------------------------------------------- /win9x/x86/cputype.h: -------------------------------------------------------------------------------- 1 | 2 | #ifdef __cplusplus 3 | extern "C" { 4 | #endif 5 | 6 | int havemmx(void); 7 | 8 | #ifdef __cplusplus 9 | } 10 | #endif 11 | 12 | -------------------------------------------------------------------------------- /android-project/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Neko Project II 4 | 5 | -------------------------------------------------------------------------------- /accessories/textout.h: -------------------------------------------------------------------------------- 1 | 2 | void *textout_open(const char *filename, int bufsize); 3 | void textout_write(void *hdl, const char *string); 4 | void textout_close(void *hdl); 5 | 6 | -------------------------------------------------------------------------------- /common/arcunzip.h: -------------------------------------------------------------------------------- 1 | 2 | #ifdef __cplusplus 3 | extern "C" { 4 | #endif 5 | 6 | ARCH arcunzip_open(const OEMCHAR *path); 7 | 8 | #ifdef __cplusplus 9 | } 10 | #endif 11 | 12 | -------------------------------------------------------------------------------- /font/fontmake.h: -------------------------------------------------------------------------------- 1 | 2 | #ifdef __cplusplus 3 | extern "C" { 4 | #endif 5 | 6 | void makepc98bmp(const OEMCHAR *filename); 7 | 8 | #ifdef __cplusplus 9 | } 10 | #endif 11 | 12 | -------------------------------------------------------------------------------- /sdl2/mousemng.h: -------------------------------------------------------------------------------- 1 | 2 | #ifdef __cplusplus 3 | extern "C" { 4 | #endif 5 | 6 | UINT8 mousemng_getstat(SINT16 *x, SINT16 *y, int clear); 7 | 8 | #ifdef __cplusplus 9 | } 10 | #endif 11 | 12 | -------------------------------------------------------------------------------- /embed/menu/filesel.h: -------------------------------------------------------------------------------- 1 | 2 | #ifdef __cplusplus 3 | extern "C" { 4 | #endif 5 | 6 | void filesel_fdd(REG8 drv); 7 | void filesel_hdd(REG8 drv); 8 | 9 | #ifdef __cplusplus 10 | } 11 | #endif 12 | 13 | -------------------------------------------------------------------------------- /libretro-alt/joymng.h: -------------------------------------------------------------------------------- 1 | 2 | #ifdef __cplusplus 3 | void joymng_sync(); 4 | 5 | extern "C" { 6 | #endif 7 | 8 | UINT8 joymng_getstat(void); 9 | 10 | #ifdef __cplusplus 11 | } 12 | #endif 13 | 14 | -------------------------------------------------------------------------------- /cbus/pcm86io.h: -------------------------------------------------------------------------------- 1 | 2 | 3 | #ifdef __cplusplus 4 | extern "C" { 5 | #endif 6 | 7 | void pcm86io_setopt(REG8 cDipSw); 8 | void pcm86io_bind(void); 9 | 10 | #ifdef __cplusplus 11 | } 12 | #endif 13 | 14 | -------------------------------------------------------------------------------- /io/fdd320.h: -------------------------------------------------------------------------------- 1 | 2 | #ifdef __cplusplus 3 | extern "C" { 4 | #endif 5 | 6 | void fdd320_reset(const NP2CFG *pConfig); 7 | void fdd320_bind(void); 8 | 9 | #ifdef __cplusplus 10 | } 11 | #endif 12 | 13 | -------------------------------------------------------------------------------- /io/printif.h: -------------------------------------------------------------------------------- 1 | 2 | #ifdef __cplusplus 3 | extern "C" { 4 | #endif 5 | 6 | void printif_reset(const NP2CFG *pConfig); 7 | void printif_bind(void); 8 | 9 | #ifdef __cplusplus 10 | } 11 | #endif 12 | 13 | -------------------------------------------------------------------------------- /generic/cmjasts.h: -------------------------------------------------------------------------------- 1 | 2 | // ---- com manager jast sound 3 | 4 | #ifdef __cplusplus 5 | extern "C" { 6 | #endif 7 | 8 | COMMNG cmjasts_create(void); 9 | 10 | #ifdef __cplusplus 11 | } 12 | #endif 13 | 14 | -------------------------------------------------------------------------------- /win9x/timemng.cpp: -------------------------------------------------------------------------------- 1 | #include "compiler.h" 2 | #include "timemng.h" 3 | 4 | 5 | BRESULT timemng_gettime(_SYSTIME *systime) { 6 | 7 | GetLocalTime((SYSTEMTIME *)systime); 8 | return(SUCCESS); 9 | } 10 | 11 | -------------------------------------------------------------------------------- /x11/cmpara.h: -------------------------------------------------------------------------------- 1 | #ifndef NP2_X11_CMPARA_H__ 2 | #define NP2_X11_CMPARA_H__ 3 | 4 | // ---- com manager parallel for unix 5 | 6 | G_BEGIN_DECLS 7 | 8 | G_END_DECLS 9 | 10 | #endif /* NP2_X11_CMPARA_H__ */ 11 | -------------------------------------------------------------------------------- /io/dipsw.h: -------------------------------------------------------------------------------- 1 | 2 | #ifdef __cplusplus 3 | extern "C" { 4 | #endif 5 | 6 | void IOOUTCALL dipsw_w8(UINT port, REG8 value); 7 | REG8 IOINPCALL dipsw_r8(UINT port); 8 | 9 | #ifdef __cplusplus 10 | } 11 | #endif 12 | 13 | -------------------------------------------------------------------------------- /sdl2/mousemng.c: -------------------------------------------------------------------------------- 1 | #include "compiler.h" 2 | #include "mousemng.h" 3 | 4 | 5 | UINT8 mousemng_getstat(SINT16 *x, SINT16 *y, int clear) { 6 | 7 | *x = 0; 8 | *y = 0; 9 | (void)clear; 10 | return(0xa0); 11 | } 12 | 13 | -------------------------------------------------------------------------------- /libretro/shim/joymng.h: -------------------------------------------------------------------------------- 1 | 2 | #ifdef __cplusplus 3 | void joymng_sync(); 4 | 5 | extern "C" { 6 | #endif 7 | 8 | UINT8 joymng_getstat(void); 9 | void joymng_sync(void); 10 | 11 | #ifdef __cplusplus 12 | } 13 | #endif 14 | 15 | -------------------------------------------------------------------------------- /np2ver.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file np2ver.h 3 | * @brief The version 4 | */ 5 | 6 | #define NP2VER_CORE "ver.0.86" 7 | 8 | // #define NP2VER_WIN9X 9 | // #define NP2VER_MACOSX 10 | // #define NP2VER_X11 11 | // #define NP2VER_SDL2 12 | 13 | -------------------------------------------------------------------------------- /vram/makegrex.h: -------------------------------------------------------------------------------- 1 | 2 | #if defined(SUPPORT_PC9821) 3 | 4 | #ifdef __cplusplus 5 | extern "C" { 6 | #endif 7 | 8 | void VRAMCALL makegrphex(int page, int alldraw); 9 | 10 | #ifdef __cplusplus 11 | } 12 | #endif 13 | 14 | #endif 15 | 16 | -------------------------------------------------------------------------------- /i386c/cpucore.h: -------------------------------------------------------------------------------- 1 | #ifndef NP2_I386C_CPUCORE_H__ 2 | #define NP2_I386C_CPUCORE_H__ 3 | 4 | #include "ia32/cpu.h" 5 | 6 | #define I286_MEMREADMAX CPU_MEMREADMAX 7 | #define I286_MEMWRITEMAX CPU_MEMWRITEMAX 8 | 9 | #endif /* !NP2_I386C_CPUCORE_H__ */ 10 | -------------------------------------------------------------------------------- /np2tool/Makefile.W32: -------------------------------------------------------------------------------- 1 | AS = nasmw 2 | AOPT = -f bin 3 | 4 | all: .\GETBIOS.COM .\PWOFF.COM .\HOSTDRV.COM 5 | 6 | .ASM{$(OBJ)}.COM: 7 | $(AS) $(*B).ASM $(AOPT) -o $*.COM -l $*.LST 8 | 9 | GETBIOS.COM : 10 | PWOFF.COM : 11 | HOSTDRV.COM : 12 | 13 | -------------------------------------------------------------------------------- /win9x/joymng.h: -------------------------------------------------------------------------------- 1 | 2 | #ifdef __cplusplus 3 | extern "C" { 4 | #endif 5 | 6 | REG8 joymng_getstat(void); 7 | 8 | #ifdef __cplusplus 9 | } 10 | #endif 11 | 12 | 13 | // ---- 14 | 15 | void joymng_initialize(void); 16 | void joymng_sync(void); 17 | 18 | -------------------------------------------------------------------------------- /android-project/src/com/yourcompany/np2/Np2Activity.java: -------------------------------------------------------------------------------- 1 | package com.yourcompany.np2; 2 | import org.libsdl.app.SDLActivity; 3 | /* 4 | * A sample wrapper class that just calls SDLActivity 5 | */ 6 | public class Np2Activity extends SDLActivity 7 | { 8 | } 9 | -------------------------------------------------------------------------------- /x11/autogen.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | aclocal 3 | autoheader 4 | automake -aci --foreign 5 | autoconf 6 | rm -f config.h.in~ 7 | ./configure "$@" 8 | rm -f ../np2tool/np2tool.d88 9 | ( cd ../np2tool && unzip -j -o np2tool.zip ) 10 | make maintainer-clean > /dev/null 2>&1 11 | -------------------------------------------------------------------------------- /io/necio.h: -------------------------------------------------------------------------------- 1 | 2 | typedef struct { 3 | UINT8 port0439; 4 | } _NECIO, *NECIO; 5 | 6 | #ifdef __cplusplus 7 | extern "C" { 8 | #endif 9 | 10 | void necio_reset(const NP2CFG *pConfig); 11 | void necio_bind(void); 12 | 13 | #ifdef __cplusplus 14 | } 15 | #endif 16 | 17 | -------------------------------------------------------------------------------- /io/nmiio.h: -------------------------------------------------------------------------------- 1 | 2 | typedef struct { 3 | int enable; 4 | } _NMIIO, *NMIIO; 5 | 6 | 7 | #ifdef __cplusplus 8 | extern "C" { 9 | #endif 10 | 11 | void nmiio_reset(const NP2CFG *pConfig); 12 | void nmiio_bind(void); 13 | 14 | #ifdef __cplusplus 15 | } 16 | #endif 17 | 18 | -------------------------------------------------------------------------------- /libretro/libretro_exports.h: -------------------------------------------------------------------------------- 1 | #ifndef LREXPORTS_ 2 | #define LREXPORTS_ 3 | 4 | #include 5 | #include "libretro.h" 6 | 7 | extern uint16_t GuiBuffer[]; 8 | extern uint16_t FrameBuffer[]; 9 | extern retro_audio_sample_batch_t audio_batch_cb; 10 | #endif 11 | -------------------------------------------------------------------------------- /timing.h: -------------------------------------------------------------------------------- 1 | 2 | #ifdef __cplusplus 3 | extern "C" { 4 | #endif 5 | 6 | void timing_reset(void); 7 | void timing_setrate(UINT lines, UINT crthz); 8 | void timing_setcount(UINT value); 9 | UINT timing_getcount(void); 10 | 11 | #ifdef __cplusplus 12 | } 13 | #endif 14 | 15 | -------------------------------------------------------------------------------- /vram/maketgrp.h: -------------------------------------------------------------------------------- 1 | 2 | #ifdef __cplusplus 3 | extern "C" { 4 | #endif 5 | 6 | void maketextgrph(int plane, int text_renewal, int grph_renewal); 7 | void maketextgrph40(int plane, int text_renewal, int grph_renewal); 8 | 9 | #ifdef __cplusplus 10 | } 11 | #endif 12 | 13 | -------------------------------------------------------------------------------- /x11/debug/viewmem.h: -------------------------------------------------------------------------------- 1 | #if defined(SUPPORT_VIEWER) 2 | 3 | G_BEGIN_DECLS 4 | 5 | void viewmem_read(VIEWMEM_T *cfg, UINT32 adrs, UINT8 *buf, UINT32 size); 6 | void viewmem_write(VIEWMEM_T *cfg, UINT32 adrs, UINT8 *buf, UINT32 size); 7 | 8 | G_END_DECLS 9 | 10 | #endif 11 | -------------------------------------------------------------------------------- /android-project/jni/Application.mk: -------------------------------------------------------------------------------- 1 | 2 | # Uncomment this if you're using STL in your project 3 | # See CPLUSPLUS-SUPPORT.html in the NDK documentation for more information 4 | APP_STL := stlport_static 5 | 6 | # APP_ABI := armeabi armeabi-v7a x86 7 | APP_ABI := armeabi-v7a 8 | -------------------------------------------------------------------------------- /win9x/x86/np2asm.inc: -------------------------------------------------------------------------------- 1 | 2 | USE_EGCASM equ 1 3 | 4 | EARG1 equ 4 5 | EARG2 equ (EARG1+4) 6 | EARG3 equ (EARG2+4) 7 | EARG4 equ (EARG3+4) 8 | 9 | FC_ARG3 equ 4 10 | FC_ARG4 equ (FC_ARG3+4) 11 | FC_ARG5 equ (FC_ARG4+4) 12 | FC_ARG6 equ (FC_ARG5+4) 13 | 14 | -------------------------------------------------------------------------------- /io/sysport.h: -------------------------------------------------------------------------------- 1 | 2 | typedef struct { 3 | UINT8 c; 4 | } _SYSPORT, *SYSPORT; 5 | 6 | 7 | #ifdef __cplusplus 8 | extern "C" { 9 | #endif 10 | 11 | void systemport_reset(const NP2CFG *pConfig); 12 | void systemport_bind(void); 13 | 14 | #ifdef __cplusplus 15 | } 16 | #endif 17 | 18 | -------------------------------------------------------------------------------- /cbus/cbuscore.h: -------------------------------------------------------------------------------- 1 | 2 | #ifdef __cplusplus 3 | extern "C" { 4 | #endif 5 | 6 | void cbuscore_reset(const NP2CFG *pConfig); 7 | void cbuscore_bind(void); 8 | 9 | void cbuscore_attachsndex(UINT port, const IOOUT *out, const IOINP *inp); 10 | 11 | #ifdef __cplusplus 12 | } 13 | #endif 14 | 15 | -------------------------------------------------------------------------------- /embed/menu/menustr.h: -------------------------------------------------------------------------------- 1 | 2 | #ifdef __cplusplus 3 | extern "C" { 4 | #endif 5 | 6 | extern const OEMCHAR mstr_cfg[]; 7 | extern const OEMCHAR mstr_scropt[]; 8 | extern const OEMCHAR mstr_about[]; 9 | 10 | extern const MENURES np2icon; 11 | 12 | #ifdef __cplusplus 13 | } 14 | #endif 15 | 16 | -------------------------------------------------------------------------------- /vram/makegrph.h: -------------------------------------------------------------------------------- 1 | 2 | enum { 3 | GRPHXMAX = 80, 4 | GRPHYMAX = 400 5 | }; 6 | 7 | 8 | #ifdef __cplusplus 9 | extern "C" { 10 | #endif 11 | 12 | void makegrph_initialize(void); 13 | void VRAMCALL makegrph(int page, int alldraw); 14 | 15 | #ifdef __cplusplus 16 | } 17 | #endif 18 | 19 | -------------------------------------------------------------------------------- /win9x/resources/resource.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | #pragma comment(linker, "/nodefaultlib") 4 | 5 | #ifdef __cplusplus 6 | extern "C" 7 | #endif 8 | BOOL APIENTRY _DllMainCRTStartup(HANDLE hModule, DWORD ulReasonForCall, LPVOID lpvReserved) 9 | { 10 | return TRUE; 11 | } 12 | 13 | -------------------------------------------------------------------------------- /io/epsonio.h: -------------------------------------------------------------------------------- 1 | 2 | typedef struct { 3 | UINT8 cpumode; 4 | UINT8 bankioen; 5 | } _EPSONIO; 6 | 7 | 8 | #ifdef __cplusplus 9 | extern "C" { 10 | #endif 11 | 12 | void epsonio_reset(const NP2CFG *pConfig); 13 | void epsonio_bind(void); 14 | 15 | #ifdef __cplusplus 16 | } 17 | #endif 18 | 19 | -------------------------------------------------------------------------------- /android-project/jni/src/main.c: -------------------------------------------------------------------------------- 1 | /* 2 | * @file main.c 3 | */ 4 | 5 | #include "compiler.h" 6 | #include "../np2/sdl2/dosio.h" 7 | #include "../np2/sdl2/np2.h" 8 | 9 | int SDL_main(int argc, char *argv[]) 10 | { 11 | file_setcd("/sdcard/application/np2/"); 12 | return np2_main(argc, argv); 13 | } 14 | -------------------------------------------------------------------------------- /generic/unasm.h: -------------------------------------------------------------------------------- 1 | 2 | typedef struct { 3 | const char *mnemonic; 4 | char operand[44]; 5 | } _UNASM, *UNASM; 6 | 7 | 8 | #ifdef __cplusplus 9 | extern "C" { 10 | #endif 11 | 12 | UINT unasm(UNASM r, const UINT8 *ptr, UINT leng, BOOL d, UINT32 addr); 13 | 14 | #ifdef __cplusplus 15 | } 16 | #endif 17 | 18 | -------------------------------------------------------------------------------- /sdl2/sysmenu.h: -------------------------------------------------------------------------------- 1 | 2 | enum { 3 | MENUTYPE_NORMAL = 0 4 | }; 5 | 6 | 7 | #ifdef __cplusplus 8 | extern "C" { 9 | #endif 10 | 11 | BRESULT sysmenu_create(void); 12 | void sysmenu_destroy(void); 13 | 14 | BRESULT sysmenu_menuopen(UINT menutype, int x, int y); 15 | 16 | #ifdef __cplusplus 17 | } 18 | #endif 19 | 20 | -------------------------------------------------------------------------------- /debugsub.h: -------------------------------------------------------------------------------- 1 | 2 | #ifdef __cplusplus 3 | extern "C" { 4 | #endif 5 | 6 | const OEMCHAR *debugsub_flags(UINT16 flag); 7 | const OEMCHAR *debugsub_regs(void); 8 | void debugsub_status(void); 9 | void debugsub_memorydump(void); 10 | void debugsub_memorydumpall(void); 11 | 12 | #ifdef __cplusplus 13 | } 14 | #endif 15 | 16 | -------------------------------------------------------------------------------- /codecnv/tcswap16.c: -------------------------------------------------------------------------------- 1 | #include "compiler.h" 2 | #include "textcnv.h" 3 | 4 | 5 | void textcnv_swapendian16(void *buf, UINT leng) { 6 | 7 | UINT8 *p; 8 | UINT8 tmp; 9 | 10 | p = (UINT8 *)buf; 11 | while(leng) { 12 | tmp = p[0]; 13 | p[0] = p[1]; 14 | p[1] = tmp; 15 | p += 2; 16 | leng--; 17 | } 18 | } 19 | 20 | -------------------------------------------------------------------------------- /libretro-alt/sysmenu.h: -------------------------------------------------------------------------------- 1 | 2 | enum { 3 | MENUTYPE_NORMAL = 0 4 | }; 5 | 6 | 7 | #ifdef __cplusplus 8 | extern "C" { 9 | #endif 10 | 11 | BRESULT sysmenu_create(void); 12 | void sysmenu_destroy(void); 13 | 14 | BRESULT sysmenu_menuopen(UINT menutype, int x, int y); 15 | 16 | #ifdef __cplusplus 17 | } 18 | #endif 19 | 20 | -------------------------------------------------------------------------------- /libretro/shim/sysmenu.h: -------------------------------------------------------------------------------- 1 | 2 | enum { 3 | MENUTYPE_NORMAL = 0 4 | }; 5 | 6 | 7 | #ifdef __cplusplus 8 | extern "C" { 9 | #endif 10 | 11 | BRESULT sysmenu_create(void); 12 | void sysmenu_destroy(void); 13 | 14 | BRESULT sysmenu_menuopen(UINT menutype, int x, int y); 15 | 16 | #ifdef __cplusplus 17 | } 18 | #endif 19 | 20 | -------------------------------------------------------------------------------- /romimage/tool/COMMON.H: -------------------------------------------------------------------------------- 1 | #ifndef NULL 2 | #define NULL ((void *)0) 3 | #endif 4 | 5 | #ifndef FALSE 6 | #define FALSE 0 7 | #define TRUE 1 8 | #endif 9 | 10 | #define SUCCESS 0 11 | #define FAILURE -1 12 | 13 | typedef unsigned char BYTE; 14 | typedef unsigned short WORD; 15 | typedef unsigned long DWORD; 16 | -------------------------------------------------------------------------------- /io/emsio.h: -------------------------------------------------------------------------------- 1 | 2 | typedef struct { 3 | UINT8 maxmem; 4 | UINT8 target; 5 | UINT16 padding; 6 | UINT32 addr[4]; 7 | } _EMSIO, *EMSIO; 8 | 9 | 10 | #ifdef __cplusplus 11 | extern "C" { 12 | #endif 13 | 14 | void emsio_reset(const NP2CFG *pConfig); 15 | void emsio_bind(void); 16 | 17 | #ifdef __cplusplus 18 | } 19 | #endif 20 | 21 | -------------------------------------------------------------------------------- /mem/memems.h: -------------------------------------------------------------------------------- 1 | 2 | #ifdef __cplusplus 3 | extern "C" { 4 | #endif 5 | 6 | REG8 MEMCALL memems_rd8(UINT32 address); 7 | REG16 MEMCALL memems_rd16(UINT32 address); 8 | void MEMCALL memems_wr8(UINT32 address, REG8 value); 9 | void MEMCALL memems_wr16(UINT32 address, REG16 value); 10 | 11 | #ifdef __cplusplus 12 | } 13 | #endif 14 | 15 | -------------------------------------------------------------------------------- /x11/debug/debugwin.h: -------------------------------------------------------------------------------- 1 | #if defined(SUPPORT_MEMDBG32) 2 | 3 | G_BEGIN_DECLS 4 | 5 | void debugwin_create(void); 6 | void debugwin_destroy(void); 7 | void debugwin_process(void); 8 | 9 | G_END_DECLS 10 | 11 | #else 12 | 13 | #define debugwin_create() 14 | #define debugwin_destroy() 15 | #define debugwin_process() 16 | 17 | #endif 18 | -------------------------------------------------------------------------------- /android-project/jni/src/Android_static.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | 5 | LOCAL_MODULE := main 6 | 7 | LOCAL_SRC_FILES := YourSourceHere.c 8 | 9 | LOCAL_STATIC_LIBRARIES := SDL2_static 10 | 11 | include $(BUILD_SHARED_LIBRARY) 12 | $(call import-module,SDL)LOCAL_PATH := $(call my-dir) 13 | -------------------------------------------------------------------------------- /mem/memtram.h: -------------------------------------------------------------------------------- 1 | 2 | #ifdef __cplusplus 3 | extern "C" { 4 | #endif 5 | 6 | REG8 MEMCALL memtram_rd8(UINT32 address); 7 | REG16 MEMCALL memtram_rd16(UINT32 address); 8 | void MEMCALL memtram_wr8(UINT32 address, REG8 value); 9 | void MEMCALL memtram_wr16(UINT32 address, REG16 value); 10 | 11 | #ifdef __cplusplus 12 | } 13 | #endif 14 | 15 | -------------------------------------------------------------------------------- /sdl2/taskmng.h: -------------------------------------------------------------------------------- 1 | 2 | #ifdef __cplusplus 3 | extern "C" { 4 | #endif 5 | 6 | extern BOOL task_avail; 7 | 8 | void taskmng_initialize(void); 9 | void taskmng_exit(void); 10 | void taskmng_rol(void); 11 | #define taskmng_isavail() (task_avail) 12 | BOOL taskmng_sleep(UINT32 tick); 13 | 14 | #ifdef __cplusplus 15 | } 16 | #endif 17 | 18 | -------------------------------------------------------------------------------- /cbus/board118.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file board118.h 3 | * @brief Interface of PC-9801-118 4 | */ 5 | 6 | #pragma once 7 | 8 | #include "pccore.h" 9 | 10 | #ifdef __cplusplus 11 | extern "C" 12 | { 13 | #endif 14 | 15 | void board118_reset(const NP2CFG *pConfig); 16 | void board118_bind(void); 17 | 18 | #ifdef __cplusplus 19 | } 20 | #endif 21 | -------------------------------------------------------------------------------- /cbus/board26k.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file board26k.h 3 | * @brief Interface of PC-9801-26K 4 | */ 5 | 6 | #pragma once 7 | 8 | #include "pccore.h" 9 | 10 | #ifdef __cplusplus 11 | extern "C" 12 | { 13 | #endif 14 | 15 | void board26k_reset(const NP2CFG *pConfig); 16 | void board26k_bind(void); 17 | 18 | #ifdef __cplusplus 19 | } 20 | #endif 21 | -------------------------------------------------------------------------------- /cbus/boardx2.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file boardx2.h 3 | * @brief Interface of PC-9801-86 + 26K 4 | */ 5 | 6 | #pragma once 7 | 8 | #include "pccore.h" 9 | 10 | #ifdef __cplusplus 11 | extern "C" 12 | { 13 | #endif 14 | 15 | void boardx2_reset(const NP2CFG *pConfig); 16 | void boardx2_bind(void); 17 | 18 | #ifdef __cplusplus 19 | } 20 | #endif 21 | -------------------------------------------------------------------------------- /libretro-alt/taskmng.h: -------------------------------------------------------------------------------- 1 | 2 | #ifdef __cplusplus 3 | extern "C" { 4 | #endif 5 | 6 | extern BOOL task_avail; 7 | 8 | void taskmng_initialize(void); 9 | void taskmng_exit(void); 10 | void taskmng_rol(void); 11 | #define taskmng_isavail() (task_avail) 12 | BOOL taskmng_sleep(UINT32 tick); 13 | 14 | #ifdef __cplusplus 15 | } 16 | #endif 17 | 18 | -------------------------------------------------------------------------------- /libretro/keyboardtranslate.h: -------------------------------------------------------------------------------- 1 | #ifndef KBLUT_ 2 | #define KBLUT_ 3 | 4 | #include 5 | 6 | extern uint16_t keys_to_poll[]; 7 | extern uint16_t keys_needed; 8 | 9 | void init_lr_key_to_pc98(); 10 | void send_libretro_key_down(uint16_t key); 11 | void send_libretro_key_up(uint16_t key); 12 | void sdlkbd_resetf12(void); 13 | #endif 14 | -------------------------------------------------------------------------------- /libretro/shim/taskmng.h: -------------------------------------------------------------------------------- 1 | 2 | #ifdef __cplusplus 3 | extern "C" { 4 | #endif 5 | 6 | extern BOOL task_avail; 7 | 8 | void taskmng_initialize(void); 9 | void taskmng_exit(void); 10 | void taskmng_rol(void); 11 | #define taskmng_isavail() (task_avail) 12 | BOOL taskmng_sleep(UINT32 tick); 13 | 14 | #ifdef __cplusplus 15 | } 16 | #endif 17 | 18 | -------------------------------------------------------------------------------- /cbus/board86.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file board86.h 3 | * @brief Interface of PC-9801-86 4 | */ 5 | 6 | #pragma once 7 | 8 | #include "pccore.h" 9 | 10 | #ifdef __cplusplus 11 | extern "C" 12 | { 13 | #endif 14 | 15 | void board86_reset(const NP2CFG *pConfig, BOOL adpcm); 16 | void board86_bind(void); 17 | 18 | #ifdef __cplusplus 19 | } 20 | #endif 21 | -------------------------------------------------------------------------------- /cbus/boardso.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file boardso.h 3 | * @brief Interface of Sound Orchestra 4 | */ 5 | 6 | #pragma once 7 | 8 | #include "pccore.h" 9 | 10 | #ifdef __cplusplus 11 | extern "C" 12 | { 13 | #endif 14 | 15 | void boardso_reset(const NP2CFG *pConfig, BOOL v); 16 | void boardso_bind(void); 17 | 18 | #ifdef __cplusplus 19 | } 20 | #endif 21 | -------------------------------------------------------------------------------- /io/lsidef.h: -------------------------------------------------------------------------------- 1 | 2 | typedef struct { 3 | UINT8 porta; 4 | UINT8 portb; 5 | UINT8 portc; 6 | UINT8 mode; 7 | } uPD8255; 8 | 9 | enum { 10 | uPD8255_PORTCL = 0x01, 11 | uPD8255_PORTB = 0x02, 12 | uPD8255_GROUPB = 0x04, 13 | uPD8255_PORTCH = 0x08, 14 | uPD8255_PORTA = 0x10, 15 | uPD8255_GROUPA = 0x60, 16 | uPD8255_CTRL = 0x80 17 | }; 18 | 19 | -------------------------------------------------------------------------------- /romimage/ITFSUB.X86: -------------------------------------------------------------------------------- 1 | 2 | WAITVSYNC1: push ax 3 | mov ah, 1 4 | jmps waitvsync_lp1 5 | WAITVSYNC: push ax 6 | waitvsync_lp1: in al, 0a0h 7 | test al, 20h 8 | jne waitvsync_lp1 9 | waitvsync_lp2: in al, 0a0h 10 | test al, 20h 11 | je waitvsync_lp2 12 | dec ah 13 | jne waitvsync_lp1 14 | pop ax 15 | ret 16 | -------------------------------------------------------------------------------- /trap/inttrap.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file inttrap.h 3 | * @brief Interface of the trap of interrupt 4 | */ 5 | 6 | #pragma once 7 | 8 | #if defined(ENABLE_TRAP) 9 | 10 | #ifdef __cplusplus 11 | extern "C" { 12 | #endif 13 | 14 | void CPUCALL softinttrap(UINT cs, UINT32 eip, UINT vect); 15 | 16 | #ifdef __cplusplus 17 | } 18 | #endif 19 | 20 | #endif 21 | 22 | -------------------------------------------------------------------------------- /cbus/scsicmd.h: -------------------------------------------------------------------------------- 1 | 2 | #if defined(SUPPORT_SCSI) 3 | 4 | #ifdef __cplusplus 5 | extern "C" { 6 | #endif 7 | 8 | REG8 scsicmd_negate(REG8 id); 9 | REG8 scsicmd_select(REG8 id); 10 | REG8 scsicmd_transfer(REG8 id, UINT8 *cdb); 11 | BRESULT scsicmd_send(void); 12 | 13 | void scsicmd_bios(void); 14 | 15 | #ifdef __cplusplus 16 | } 17 | #endif 18 | 19 | #endif 20 | 21 | -------------------------------------------------------------------------------- /libretro/shim/np2.h: -------------------------------------------------------------------------------- 1 | 2 | typedef struct { 3 | UINT8 NOWAIT; 4 | UINT8 DRAW_SKIP; 5 | UINT8 F12KEY; 6 | UINT8 resume; 7 | UINT8 jastsnd; 8 | } NP2OSCFG; 9 | 10 | enum { 11 | FULLSCREEN_WIDTH = 640, 12 | FULLSCREEN_HEIGHT = 400 13 | }; 14 | 15 | extern NP2OSCFG np2oscfg; 16 | 17 | extern int np2_main(int argc, char *argv[]); 18 | extern int np2_end(void); 19 | -------------------------------------------------------------------------------- /trap/steptrap.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file steptrap.h 3 | * @brief Interface of the step trap 4 | */ 5 | 6 | #pragma once 7 | 8 | #if defined(ENABLE_TRAP) 9 | 10 | #ifdef __cplusplus 11 | extern "C" { 12 | #endif 13 | 14 | void steptrap_hisfileout(void); 15 | 16 | void CPUCALL steptrap(UINT cs, UINT32 eip); 17 | 18 | #ifdef __cplusplus 19 | } 20 | #endif 21 | 22 | #endif 23 | -------------------------------------------------------------------------------- /vram/vram.c: -------------------------------------------------------------------------------- 1 | #include "compiler.h" 2 | #include "cpucore.h" 3 | #include "vram.h" 4 | 5 | 6 | _VRAMOP vramop; 7 | UINT8 tramupdate[0x1000]; 8 | UINT8 vramupdate[0x8000]; 9 | #if defined(SUPPORT_PC9821) 10 | UINT8 vramex[0x80000]; 11 | #endif 12 | 13 | 14 | void vram_initialize(void) { 15 | 16 | ZeroMemory(&vramop, sizeof(vramop)); 17 | MEMM_VRAM(0); 18 | } 19 | 20 | -------------------------------------------------------------------------------- /win9x/winkbd.h: -------------------------------------------------------------------------------- 1 | 2 | enum { 3 | KEY_PC98 = 0, 4 | KEY_KEY101 = 1, 5 | KEY_KEY106 = 2, 6 | KEY_TYPEMAX = 3, 7 | KEY_UNKNOWN = 0xff 8 | }; 9 | 10 | void winkbd_keydown(WPARAM wParam, LPARAM lParam); 11 | void winkbd_keyup(WPARAM wParam, LPARAM lParam); 12 | void winkbd_roll(BOOL pcat); 13 | void winkbd_setf12(UINT f12key); 14 | void winkbd_resetf12(void); 15 | 16 | -------------------------------------------------------------------------------- /io/artic.h: -------------------------------------------------------------------------------- 1 | 2 | typedef struct { 3 | SINT32 lastclk2; 4 | SINT32 counter; 5 | } _ARTIC, *ARTIC; 6 | 7 | 8 | #ifdef __cplusplus 9 | extern "C" { 10 | #endif 11 | 12 | void artic_callback(void); 13 | 14 | void artic_reset(const NP2CFG *pConfig); 15 | void artic_bind(void); 16 | REG16 IOINPCALL artic_r16(UINT port); 17 | 18 | #ifdef __cplusplus 19 | } 20 | #endif 21 | 22 | -------------------------------------------------------------------------------- /x11/taskmng.h: -------------------------------------------------------------------------------- 1 | #ifndef NP2_X11_TASKMNG_H__ 2 | #define NP2_X11_TASKMNG_H__ 3 | 4 | #include "compiler.h" 5 | 6 | #include "np2.h" 7 | 8 | G_BEGIN_DECLS 9 | 10 | void taskmng_initialize(void); 11 | BOOL taskmng_sleep(UINT32 tick); 12 | void taskmng_exit(void); 13 | 14 | #define taskmng_isavail() np2running 15 | 16 | G_END_DECLS 17 | 18 | #endif /* NP2_X11_TASKMNG_H__ */ 19 | -------------------------------------------------------------------------------- /embed/menu/dlgscr.h: -------------------------------------------------------------------------------- 1 | 2 | #if defined(SIZE_QVGA) 3 | enum { 4 | DLGSCR_WIDTH = 280, 5 | DLGSCR_HEIGHT = 166 6 | }; 7 | #else 8 | enum { 9 | DLGSCR_WIDTH = 393, 10 | DLGSCR_HEIGHT = 235 11 | }; 12 | #endif 13 | 14 | #ifdef __cplusplus 15 | extern "C" { 16 | #endif 17 | 18 | int dlgscr_cmd(int msg, MENUID id, long param); 19 | 20 | #ifdef __cplusplus 21 | } 22 | #endif 23 | 24 | -------------------------------------------------------------------------------- /embed/menu/dlgcfg.h: -------------------------------------------------------------------------------- 1 | 2 | #if defined(SIZE_QVGA) 3 | enum { 4 | DLGCFG_WIDTH = 254, 5 | DLGCFG_HEIGHT = 180 6 | }; 7 | #else 8 | enum { 9 | DLGCFG_WIDTH = 303, 10 | DLGCFG_HEIGHT = 214 11 | }; 12 | #endif 13 | 14 | 15 | #ifdef __cplusplus 16 | extern "C" { 17 | #endif 18 | 19 | int dlgcfg_cmd(int msg, MENUID id, long param); 20 | 21 | #ifdef __cplusplus 22 | } 23 | #endif 24 | 25 | -------------------------------------------------------------------------------- /romimage/BIOS/VECT1A.X86: -------------------------------------------------------------------------------- 1 | 2 | vect1a: sti ; +00 3 | push ds ; +01 4 | push dx ; +02 5 | test ah, 0x10 ; +03 6 | jne short .prt ; +06 7 | call bios1a_cmt ; +08 8 | jmp short .ed ; +0b 9 | times (0x19 - 0x0d) nop ; +0d 10 | .prt: call bios1a_prt ; +19 (use dos6.20) 11 | .ed: pop dx 12 | pop ds 13 | iret 14 | 15 | -------------------------------------------------------------------------------- /romimage/PC98.INC: -------------------------------------------------------------------------------- 1 | 2 | ;seg=00000h 3 | MEM_EXPMMSZ equ 00401h 4 | 5 | MEM_KB_KY_STS equ 0052ah 6 | MEM_SHIFT_STS equ 0053ah 7 | MEM_EXTMSZ equ 00594h 8 | 9 | ;seg=0a000h 10 | MEM_MSW1 equ 03fe2h 11 | MEM_MSW2 equ 03fe6h 12 | MEM_MSW3 equ 03feah 13 | MEM_MSW4 equ 03feeh 14 | MEM_MSW5 equ 03ff2h 15 | MEM_MSW6 equ 03ff6h 16 | MEM_MSW7 equ 03ffah 17 | MEM_MSW8 equ 03ffeh 18 | -------------------------------------------------------------------------------- /embed/menu/dlgabout.h: -------------------------------------------------------------------------------- 1 | 2 | #if defined(SIZE_QVGA) 3 | enum { 4 | DLGABOUT_WIDTH = 232, 5 | DLGABOUT_HEIGHT = 40 6 | }; 7 | #else 8 | enum { 9 | DLGABOUT_WIDTH = 342, 10 | DLGABOUT_HEIGHT = 58 11 | }; 12 | #endif 13 | 14 | 15 | #ifdef __cplusplus 16 | extern "C" { 17 | #endif 18 | 19 | int dlgabout_cmd(int msg, MENUID id, long param); 20 | 21 | #ifdef __cplusplus 22 | } 23 | #endif 24 | 25 | -------------------------------------------------------------------------------- /codecnv/tcswap32.c: -------------------------------------------------------------------------------- 1 | #include "compiler.h" 2 | #include "textcnv.h" 3 | 4 | 5 | void textcnv_swapendian32(void *buf, UINT leng) { 6 | 7 | UINT8 *p; 8 | UINT8 tmp0; 9 | UINT8 tmp1; 10 | 11 | p = (UINT8 *)buf; 12 | while(leng) { 13 | tmp0 = p[0]; 14 | tmp1 = p[1]; 15 | p[0] = p[3]; 16 | p[1] = p[2]; 17 | p[2] = tmp1; 18 | p[3] = tmp0; 19 | p += 4; 20 | leng--; 21 | } 22 | } 23 | 24 | -------------------------------------------------------------------------------- /x11/trace.c: -------------------------------------------------------------------------------- 1 | #include "compiler.h" 2 | #include 3 | 4 | 5 | int trace_flag = 0; 6 | 7 | void trace_init(void) { 8 | } 9 | 10 | void trace_term(void) { 11 | } 12 | 13 | void trace_fmt(const char *fmt, ...) { 14 | 15 | va_list ap; 16 | gchar buf[1024]; 17 | 18 | va_start(ap, fmt); 19 | g_vsnprintf(buf, sizeof(buf), fmt, ap); 20 | va_end(ap); 21 | g_printerr("%s\n", buf); 22 | } 23 | -------------------------------------------------------------------------------- /common/mimpidef.h: -------------------------------------------------------------------------------- 1 | 2 | enum { 3 | MIMPI_LA = 0, 4 | MIMPI_PCM, 5 | MIMPI_GS, 6 | MIMPI_RHYTHM 7 | }; 8 | 9 | typedef struct { 10 | UINT8 ch[16]; 11 | UINT8 map[3][128]; 12 | UINT8 bank[3][128]; 13 | } MIMPIDEF; 14 | 15 | 16 | #ifdef __cplusplus 17 | extern "C" { 18 | #endif 19 | 20 | BRESULT mimpidef_load(MIMPIDEF *def, const OEMCHAR *filename); 21 | 22 | #ifdef __cplusplus 23 | } 24 | #endif 25 | 26 | -------------------------------------------------------------------------------- /io/cgrom.h: -------------------------------------------------------------------------------- 1 | 2 | typedef struct { 3 | UINT code; 4 | UINT lr; 5 | UINT line; 6 | } _CGROM, *CGROM; 7 | 8 | typedef struct { 9 | UINT32 low; 10 | UINT32 high; 11 | UINT8 writable; 12 | } _CGWINDOW, *CGWINDOW; 13 | 14 | 15 | #ifdef __cplusplus 16 | extern "C" { 17 | #endif 18 | 19 | void cgrom_reset(const NP2CFG *pConfig); 20 | void cgrom_bind(void); 21 | 22 | #ifdef __cplusplus 23 | } 24 | #endif 25 | 26 | -------------------------------------------------------------------------------- /cbus/boardspb.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file boardspb.h 3 | * @brief Interface of Speak board 4 | */ 5 | 6 | #pragma once 7 | 8 | #include "pccore.h" 9 | 10 | #ifdef __cplusplus 11 | extern "C" 12 | { 13 | #endif 14 | 15 | void boardspb_reset(const NP2CFG *pConfig); 16 | void boardspb_bind(void); 17 | 18 | void boardspr_reset(const NP2CFG *pConfig); 19 | void boardspr_bind(void); 20 | 21 | #ifdef __cplusplus 22 | } 23 | #endif 24 | -------------------------------------------------------------------------------- /android-project/default.properties: -------------------------------------------------------------------------------- 1 | # This file is automatically generated by Android Tools. 2 | # Do not modify this file -- YOUR CHANGES WILL BE ERASED! 3 | # 4 | # This file must be checked in Version Control Systems. 5 | # 6 | # To customize properties used by the Ant build system use, 7 | # "build.properties", and override values to adapt the script to your 8 | # project structure. 9 | 10 | # Project target. 11 | target=android-12 12 | -------------------------------------------------------------------------------- /fdd/newdisk.h: -------------------------------------------------------------------------------- 1 | 2 | #ifdef __cplusplus 3 | extern "C" { 4 | #endif 5 | 6 | void newdisk_fdd(const OEMCHAR *fname, REG8 type, const OEMCHAR *label); 7 | 8 | void newdisk_thd(const OEMCHAR *fname, UINT hddsize); 9 | void newdisk_nhd(const OEMCHAR *fname, UINT hddsize); 10 | void newdisk_hdi(const OEMCHAR *fname, UINT hddtype); 11 | void newdisk_vhd(const OEMCHAR *fname, UINT hddsize); 12 | 13 | #ifdef __cplusplus 14 | } 15 | #endif 16 | 17 | -------------------------------------------------------------------------------- /romimage/MEMSW.X86: -------------------------------------------------------------------------------- 1 | 2 | mswdefault db 048h, 005h, 004h, 000h, 001h, 000h, 000h, 06Eh 3 | 4 | MEMSW_INIT: mov si, offset mswdefault 5 | mov di, MEM_MSW1 6 | cli 7 | mov al, 0dh 8 | out 68h, al ; memsw write enable 9 | mov cx, 8 10 | mswresetlp: db FIXCS 11 | movsb 12 | add di, 3 13 | loop mswresetlp 14 | mov al, 0ch 15 | out 68h, al ; memsw write disable 16 | sti 17 | ret 18 | -------------------------------------------------------------------------------- /sdl2/iOS/compiler.pch: -------------------------------------------------------------------------------- 1 | /** 2 | * @file compiler.pch 3 | * @brief プリコンパイル済みヘッダー 4 | */ 5 | 6 | #ifndef np2sdl2_compiler_pch 7 | #define np2sdl2_compiler_pch 8 | 9 | // Include any system framework and library headers here that should be included in all compilation units. 10 | // You will also need to set the Prefix Header build setting of one or more of your targets to reference this file. 11 | #include "compiler.h" 12 | 13 | #endif 14 | -------------------------------------------------------------------------------- /sdl2/oemtext.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file oemtext.h 3 | * @breif defines converter 4 | */ 5 | 6 | #pragma once 7 | 8 | #include "codecnv/codecnv.h" 9 | 10 | #define oemtext_oemtosjis(a, b, c, d) codecnv_utf8tosjis(a, b, c, d) 11 | #define oemtext_sjistooem(a, b, c, d) codecnv_sjistoutf8(a, b, c, d) 12 | 13 | #ifdef __cplusplus 14 | #include 15 | namespace std 16 | { 17 | typedef string oemstring; 18 | } 19 | #endif /* __cplusplus */ 20 | -------------------------------------------------------------------------------- /libretro-alt/oemtext.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file oemtext.h 3 | * @breif defines converter 4 | */ 5 | 6 | #pragma once 7 | 8 | #include "codecnv/codecnv.h" 9 | 10 | #define oemtext_oemtosjis(a, b, c, d) codecnv_utf8tosjis(a, b, c, d) 11 | #define oemtext_sjistooem(a, b, c, d) codecnv_sjistoutf8(a, b, c, d) 12 | 13 | #ifdef __cplusplus 14 | #include 15 | namespace std 16 | { 17 | typedef string oemstring; 18 | } 19 | #endif /* __cplusplus */ 20 | -------------------------------------------------------------------------------- /libretro/shim/oemtext.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file oemtext.h 3 | * @breif defines converter 4 | */ 5 | 6 | #pragma once 7 | 8 | #include "codecnv/codecnv.h" 9 | 10 | #define oemtext_oemtosjis(a, b, c, d) codecnv_utf8tosjis(a, b, c, d) 11 | #define oemtext_sjistooem(a, b, c, d) codecnv_sjistoutf8(a, b, c, d) 12 | 13 | #ifdef __cplusplus 14 | #include 15 | namespace std 16 | { 17 | typedef string oemstring; 18 | } 19 | #endif /* __cplusplus */ 20 | -------------------------------------------------------------------------------- /sdl2/MacOSX/np2sdl2/compiler.pch: -------------------------------------------------------------------------------- 1 | /** 2 | * @file compiler.pch 3 | * @brief プリコンパイル済みヘッダー 4 | */ 5 | 6 | #ifndef np2sdl2_compiler_pch 7 | #define np2sdl2_compiler_pch 8 | 9 | // Include any system framework and library headers here that should be included in all compilation units. 10 | // You will also need to set the Prefix Header build setting of one or more of your targets to reference this file. 11 | #include "compiler.h" 12 | 13 | #endif 14 | -------------------------------------------------------------------------------- /x11/timemng.h: -------------------------------------------------------------------------------- 1 | #ifndef NP2_X11_TIMEMNG_H__ 2 | #define NP2_X11_TIMEMNG_H__ 3 | 4 | G_BEGIN_DECLS 5 | 6 | // Win32 SYSTEMTIME ストラクチャ 7 | 8 | typedef struct { 9 | UINT16 year; 10 | UINT16 month; 11 | UINT16 week; 12 | UINT16 day; 13 | UINT16 hour; 14 | UINT16 minute; 15 | UINT16 second; 16 | UINT16 milli; 17 | } _SYSTIME; 18 | 19 | BRESULT timemng_gettime(_SYSTIME *systime); 20 | 21 | G_END_DECLS 22 | 23 | #endif /* NP2_X11_TIMEMNG_H__ */ 24 | -------------------------------------------------------------------------------- /io/upd4990.h: -------------------------------------------------------------------------------- 1 | 2 | #define UPD4990_REGLEN 8 3 | 4 | typedef struct { 5 | UINT8 last; 6 | UINT8 cmd; 7 | UINT8 serial; 8 | UINT8 parallel; 9 | UINT8 reg[UPD4990_REGLEN]; 10 | UINT pos; 11 | UINT8 cdat; 12 | UINT8 regsft; 13 | } _UPD4990, *UPD4990; 14 | 15 | 16 | #ifdef __cplusplus 17 | extern "C" { 18 | #endif 19 | 20 | void uPD4990_reset(const NP2CFG *pConfig); 21 | void uPD4990_bind(void); 22 | 23 | #ifdef __cplusplus 24 | } 25 | #endif 26 | 27 | -------------------------------------------------------------------------------- /np2tool/HOSTDRV.INC: -------------------------------------------------------------------------------- 1 | 2 | %define VERSION_ID "20040122" 3 | 4 | 5 | struc HDRVIF 6 | .drive_no resb 1 7 | .dosver resw 1 8 | .sda_off resw 1 9 | .sda_seg resw 1 10 | endstruc 11 | 12 | struc LOL 13 | resb 22 14 | .cds resd 1 15 | resb 7 16 | .lastdrv resb 1 17 | endstruc 18 | 19 | struc CDS 20 | .cur resb 67 21 | .flag resw 1 22 | resb 10 23 | .root resw 1 24 | .size 25 | endstruc 26 | 27 | -------------------------------------------------------------------------------- /sdl2/np2.h: -------------------------------------------------------------------------------- 1 | 2 | typedef struct { 3 | UINT8 NOWAIT; 4 | UINT8 DRAW_SKIP; 5 | UINT8 F12KEY; 6 | UINT8 resume; 7 | UINT8 jastsnd; 8 | } NP2OSCFG; 9 | 10 | 11 | #if defined(SIZE_QVGA) 12 | enum { 13 | FULLSCREEN_WIDTH = 320, 14 | FULLSCREEN_HEIGHT = 240 15 | }; 16 | #else 17 | enum { 18 | FULLSCREEN_WIDTH = 640, 19 | FULLSCREEN_HEIGHT = 400 20 | }; 21 | #endif 22 | 23 | extern NP2OSCFG np2oscfg; 24 | 25 | extern int np2_main(int argc, char *argv[]); 26 | -------------------------------------------------------------------------------- /zlib/inffast.h: -------------------------------------------------------------------------------- 1 | /* inffast.h -- header to use inffast.c 2 | * Copyright (C) 1995-2003 Mark Adler 3 | * For conditions of distribution and use, see copyright notice in zlib.h 4 | */ 5 | 6 | /* WARNING: this file should *not* be used by applications. It is 7 | part of the implementation of the compression library and is 8 | subject to change. Applications should only use zlib.h. 9 | */ 10 | 11 | void inflate_fast OF((z_streamp strm, unsigned start)); 12 | -------------------------------------------------------------------------------- /x11/cmserial.h: -------------------------------------------------------------------------------- 1 | #ifndef NP2_X11_CMSERIAL_H__ 2 | #define NP2_X11_CMSERIAL_H__ 3 | 4 | // ---- com manager serial for unix 5 | 6 | G_BEGIN_DECLS 7 | 8 | extern const UINT32 cmserial_speed[10]; 9 | 10 | COMMNG cmserial_create(UINT port, UINT8 param, UINT32 speed); 11 | 12 | #if defined(SUPPORT_PC9861K) 13 | #define MAX_SERIAL_PORT_NUM 3 14 | #else 15 | #define MAX_SERIAL_PORT_NUM 1 16 | #endif 17 | 18 | G_END_DECLS 19 | 20 | #endif /* NP2_X11_CMSERIAL_H__ */ 21 | -------------------------------------------------------------------------------- /x11/contrib/udev/70-external-fm-sound.rules: -------------------------------------------------------------------------------- 1 | ACTION!="add", GOTO="external_fm_sound_end" 2 | 3 | SUBSYSTEM=="tty", IMPORT{parent}="ID_VENDOR_ID", IMPORT{parent}="ID_MODEL_ID" 4 | 5 | # C86BOX 6 | SUBSYSTEM=="usb", ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="27d8", MODE="0666" 7 | 8 | # SPFM Light (a.k.a. FTDI FT232RL) 9 | SUBSYSTEM=="tty", KERNEL=="ttyUSB*", ENV{ID_VENDOR_ID}=="0403", ENV{ID_MODEL_ID}=="6001", MODE="0666" 10 | 11 | LABEL="external_fm_sound_end" 12 | -------------------------------------------------------------------------------- /generic/np2info.h: -------------------------------------------------------------------------------- 1 | 2 | struct _np2infoex; 3 | typedef struct _np2infoex NP2INFOEX; 4 | 5 | struct _np2infoex { 6 | OEMCHAR cr[4]; 7 | BOOL (*ext)(OEMCHAR *dst, const OEMCHAR *key, int maxlen, 8 | const NP2INFOEX *ex); 9 | }; 10 | 11 | 12 | #ifdef __cplusplus 13 | extern "C" { 14 | #endif 15 | 16 | void np2info(OEMCHAR *dst, const OEMCHAR *src, int maxlen, 17 | const NP2INFOEX *ex); 18 | 19 | #ifdef __cplusplus 20 | } 21 | #endif 22 | 23 | -------------------------------------------------------------------------------- /libretro-alt/np2.h: -------------------------------------------------------------------------------- 1 | 2 | typedef struct { 3 | UINT8 NOWAIT; 4 | UINT8 DRAW_SKIP; 5 | UINT8 F12KEY; 6 | UINT8 resume; 7 | UINT8 jastsnd; 8 | } NP2OSCFG; 9 | 10 | 11 | #if defined(SIZE_QVGA) 12 | enum { 13 | FULLSCREEN_WIDTH = 320, 14 | FULLSCREEN_HEIGHT = 240 15 | }; 16 | #else 17 | enum { 18 | FULLSCREEN_WIDTH = 640, 19 | FULLSCREEN_HEIGHT = 400 20 | }; 21 | #endif 22 | 23 | extern NP2OSCFG np2oscfg; 24 | 25 | extern int np2_main(int argc, char *argv[]); 26 | -------------------------------------------------------------------------------- /mem/memepp.h: -------------------------------------------------------------------------------- 1 | 2 | #ifdef __cplusplus 3 | extern "C" { 4 | #endif 5 | 6 | void MEMCALL memd000_wr8(UINT32 address, REG8 value); 7 | void MEMCALL memd000_wr16(UINT32 address, REG16 value); 8 | 9 | REG8 MEMCALL memf800_rd8(UINT32 address); 10 | REG16 MEMCALL memf800_rd16(UINT32 address); 11 | 12 | void MEMCALL memepson_wr8(UINT32 address, REG8 value); 13 | void MEMCALL memepson_wr16(UINT32 address, REG16 value); 14 | 15 | #ifdef __cplusplus 16 | } 17 | #endif 18 | 19 | -------------------------------------------------------------------------------- /win9x/x64/vram.inc: -------------------------------------------------------------------------------- 1 | 2 | SCRN_BUFSIZE equ 0x4b000 3 | 4 | 5 | struc vramop_t 6 | .operate resd 1 7 | .tramwait resd 1 8 | .vramwait resd 1 9 | .grcgwait resd 1 10 | endstruc 11 | 12 | struc dsync_t 13 | .text_vbp resd 1 14 | .textymax resd 1 15 | .grph_vbp resd 1 16 | .grphymax resd 1 17 | 18 | .scrnxpos resd 1 19 | .scrnxmax resd 1 20 | .scrnxextend resd 1 21 | .scrnymax resd 1 22 | .textvad resd 1 23 | .grphvad resd 1 24 | endstruc 25 | 26 | -------------------------------------------------------------------------------- /win9x/x86/vram.inc: -------------------------------------------------------------------------------- 1 | 2 | SCRN_BUFSIZE equ 0x4b000 3 | 4 | 5 | struc vramop_t 6 | .operate resd 1 7 | .tramwait resd 1 8 | .vramwait resd 1 9 | .grcgwait resd 1 10 | endstruc 11 | 12 | struc dsync_t 13 | .text_vbp resd 1 14 | .textymax resd 1 15 | .grph_vbp resd 1 16 | .grphymax resd 1 17 | 18 | .scrnxpos resd 1 19 | .scrnxmax resd 1 20 | .scrnxextend resd 1 21 | .scrnymax resd 1 22 | .textvad resd 1 23 | .grphvad resd 1 24 | endstruc 25 | 26 | -------------------------------------------------------------------------------- /android-project/res/layout/main.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /win9x/x86/cputype.x86: -------------------------------------------------------------------------------- 1 | 2 | section .text 3 | 4 | global _havemmx 5 | 6 | align 16 7 | _havemmx: pushfd 8 | pop eax 9 | mov edx, eax 10 | xor eax, 00200000h 11 | push eax 12 | popfd 13 | pushfd 14 | pop eax 15 | sub eax, edx 16 | je short nocpuid 17 | xor eax, eax 18 | inc eax 19 | push ebx 20 | cpuid 21 | pop ebx 22 | mov eax, edx 23 | and eax, 00800000h 24 | nocpuid: ret 25 | 26 | -------------------------------------------------------------------------------- /common/textfile.h: -------------------------------------------------------------------------------- 1 | 2 | typedef void *TEXTFILEH; 3 | 4 | #ifdef __cplusplus 5 | extern "C" { 6 | #endif 7 | 8 | TEXTFILEH textfile_open(const OEMCHAR *filename, UINT buffersize); 9 | TEXTFILEH textfile_create(const OEMCHAR *filename, UINT buffersize); 10 | BRESULT textfile_read(TEXTFILEH fh, OEMCHAR *buffer, UINT size); 11 | BRESULT textfile_write(TEXTFILEH fh, const OEMCHAR *buffer); 12 | void textfile_close(TEXTFILEH fh); 13 | 14 | #ifdef __cplusplus 15 | } 16 | #endif 17 | 18 | -------------------------------------------------------------------------------- /sound/opntimer.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file opntimer.h 3 | * @brief Interface of OPN timer 4 | */ 5 | 6 | #pragma once 7 | 8 | #include "nevent.h" 9 | #include "opna.h" 10 | 11 | #ifdef __cplusplus 12 | extern "C" { 13 | #endif 14 | 15 | void fmport_a(NEVENTITEM item); 16 | void fmport_b(NEVENTITEM item); 17 | 18 | void opna_timer(POPNA opna, UINT nIrq, NEVENTID nTimerA, NEVENTID nTimerB); 19 | void opna_settimer(POPNA opna, REG8 cData); 20 | 21 | #ifdef __cplusplus 22 | } 23 | #endif 24 | -------------------------------------------------------------------------------- /cbus/boardpx.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file boardpx.h 3 | * @brief Interface of PX 4 | */ 5 | 6 | #pragma once 7 | 8 | #if defined(SUPPORT_PX) 9 | 10 | #include "pccore.h" 11 | 12 | #ifdef __cplusplus 13 | extern "C" 14 | { 15 | #endif 16 | 17 | void boardpx1_reset(const NP2CFG *pConfig); 18 | void boardpx1_bind(void); 19 | 20 | void boardpx2_reset(const NP2CFG *pConfig); 21 | void boardpx2_bind(void); 22 | 23 | #ifdef __cplusplus 24 | } 25 | #endif 26 | 27 | #endif // defined(SUPPORT_PX) 28 | -------------------------------------------------------------------------------- /fdd/sxsicd.h: -------------------------------------------------------------------------------- 1 | 2 | #ifdef __cplusplus 3 | extern "C" { 4 | #endif 5 | 6 | enum { 7 | SXSIMEDIA_DATA = 0x10, 8 | SXSIMEDIA_AUDIO = 0x20 9 | }; 10 | 11 | typedef struct { 12 | UINT8 type; 13 | UINT8 track; 14 | UINT32 pos; 15 | } _CDTRK, *CDTRK; 16 | 17 | BRESULT sxsicd_open(SXSIDEV sxsi, const OEMCHAR *fname); 18 | 19 | CDTRK sxsicd_gettrk(SXSIDEV sxsi, UINT *tracks); 20 | BRESULT sxsicd_readraw(SXSIDEV sxsi, long pos, void *buf); 21 | 22 | #ifdef __cplusplus 23 | } 24 | #endif 25 | 26 | -------------------------------------------------------------------------------- /cbus/cs4231io.h: -------------------------------------------------------------------------------- 1 | 2 | 3 | #ifdef __cplusplus 4 | extern "C" { 5 | #endif 6 | 7 | void cs4231io_reset(void); 8 | void cs4231io_bind(void); 9 | 10 | void IOOUTCALL cs4231io0_w8(UINT port, REG8 value); 11 | REG8 IOINPCALL cs4231io0_r8(UINT port); 12 | void IOOUTCALL cs4231io2_w8(UINT port, REG8 value); 13 | REG8 IOINPCALL cs4231io2_r8(UINT port); 14 | void IOOUTCALL cs4231io5_w8(UINT port, REG8 value); 15 | REG8 IOINPCALL cs4231io5_r8(UINT port); 16 | 17 | #ifdef __cplusplus 18 | } 19 | #endif 20 | 21 | -------------------------------------------------------------------------------- /romimage/BIOS/EOI.X86: -------------------------------------------------------------------------------- 1 | 2 | sendeoi: push ax 3 | call eoi 4 | pop ax 5 | biosnop: iret 6 | 7 | eoi: mov al, 0bh 8 | out 00h, al 9 | out 5fh, al 10 | in al, 00h 11 | test al, 80h 12 | je short .master 13 | mov al, 20h 14 | out 08h, al 15 | out 5fh, al 16 | mov al, 0bh 17 | out 08h, al 18 | out 5fh, al 19 | in al, 08h 20 | test al, -1 21 | jne short .ed 22 | .master: mov al, 20h 23 | out 00h, al 24 | .ed: ret 25 | 26 | -------------------------------------------------------------------------------- /sound/soundrom.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file soundrom.h 3 | * @brief Interface of the sound rom 4 | */ 5 | 6 | #pragma once 7 | 8 | typedef struct { 9 | OEMCHAR name[24]; 10 | UINT32 address; 11 | } SOUNDROM; 12 | 13 | #ifdef __cplusplus 14 | extern "C" { 15 | #endif 16 | 17 | extern SOUNDROM soundrom; 18 | 19 | void soundrom_reset(void); 20 | void soundrom_load(UINT32 address, const OEMCHAR *primary); 21 | void soundrom_loadex(UINT sw, const OEMCHAR *primary); 22 | 23 | #ifdef __cplusplus 24 | } 25 | #endif 26 | -------------------------------------------------------------------------------- /calendar.h: -------------------------------------------------------------------------------- 1 | 2 | typedef struct { 3 | _SYSTIME dt; 4 | _SYSTIME realc; 5 | UINT steps; 6 | UINT realchg; 7 | } _CALENDAR, *CALENDAR; 8 | 9 | 10 | #ifdef __cplusplus 11 | extern "C" { 12 | #endif 13 | 14 | extern _CALENDAR cal; 15 | 16 | void calendar_initialize(void); 17 | void calendar_inc(void); 18 | void calendar_set(const UINT8 *bcd); 19 | void calendar_get(UINT8 *bcd); 20 | void calendar_getreal(UINT8 *bcd); 21 | void calendar_getvir(UINT8 *bcd); 22 | 23 | #ifdef __cplusplus 24 | } 25 | #endif 26 | 27 | -------------------------------------------------------------------------------- /common/wavefile.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file wavefile.h 3 | * @brief Interface of wave file 4 | */ 5 | 6 | #pragma once 7 | 8 | typedef struct TagWaveFile *WAVEFILEH; /*!< Defines handle */ 9 | 10 | #ifdef __cplusplus 11 | extern "C" 12 | { 13 | #endif 14 | 15 | WAVEFILEH wavefile_create(const OEMCHAR *lpFilename, UINT nRate, UINT nBits, UINT nChannels); 16 | UINT wavefile_write(WAVEFILEH hWave, const void *lpBuffer, UINT cbBuffer); 17 | void wavefile_close(WAVEFILEH hWave); 18 | 19 | #ifdef __cplusplus 20 | } 21 | #endif 22 | -------------------------------------------------------------------------------- /i286x/i286xrep.h: -------------------------------------------------------------------------------- 1 | void rep_xinsb(void); 2 | void rep_xinsw(void); 3 | void rep_xoutsb(void); 4 | void rep_xoutsw(void); 5 | void rep_xmovsb(void); 6 | void rep_xmovsw(void); 7 | void rep_xlodsb(void); 8 | void rep_xlodsw(void); 9 | void rep_xstosb(void); 10 | void rep_xstosw(void); 11 | 12 | void repe_xcmpsb(void); 13 | void repne_xcmpsb(void); 14 | void repe_xcmpsw(void); 15 | void repne_xcmpsw(void); 16 | 17 | void repe_xscasb(void); 18 | void repne_xscasb(void); 19 | void repe_xscasw(void); 20 | void repne_xscasw(void); 21 | -------------------------------------------------------------------------------- /embed/menubase/menumbox.h: -------------------------------------------------------------------------------- 1 | 2 | enum { 3 | MBOX_OK = 0x0000, 4 | MBOX_OKCANCEL = 0x0001, 5 | MBOX_ABORT = 0x0002, 6 | MBOX_YESNOCAN = 0x0003, 7 | MBOX_YESNO = 0x0004, 8 | MBOX_RETRY = 0x0005, 9 | MBOX_ICONSTOP = 0x0010, 10 | MBOX_ICONQUESTION = 0x0020, 11 | MBOX_ICONEXCLAME = 0x0030, 12 | MBOX_ICONINFO = 0x0040 13 | }; 14 | 15 | #ifdef __cplusplus 16 | extern "C" { 17 | #endif 18 | 19 | int menumbox(const OEMCHAR *string, const OEMCHAR *title, UINT type); 20 | 21 | #ifdef __cplusplus 22 | } 23 | #endif 24 | 25 | -------------------------------------------------------------------------------- /libretro/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | CORE_DIR := $(LOCAL_PATH)/.. 4 | 5 | include $(CORE_DIR)/Makefile.common 6 | 7 | COREFLAGS := -D__LIBRETRO__ $(INCFLAGS) 8 | 9 | GIT_VERSION := " $(shell git rev-parse --short HEAD || echo unknown)" 10 | ifneq ($(GIT_VERSION)," unknown") 11 | COREFLAGS += -DGIT_VERSION=\"$(GIT_VERSION)\" 12 | endif 13 | 14 | include $(CLEAR_VARS) 15 | LOCAL_MODULE := retro 16 | LOCAL_SRC_FILES := $(SOURCES_C) $(SOURCES_CXX) 17 | LOCAL_CFLAGS := $(COREFLAGS) 18 | include $(BUILD_SHARED_LIBRARY) 19 | -------------------------------------------------------------------------------- /sdl2/trace.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef TRACE 3 | 4 | #define TRACEINIT() 5 | #define TRACETERM() 6 | #define TRACEOUT(a) 7 | #define VERBOSE(a) 8 | 9 | #else 10 | 11 | #ifdef __cplusplus 12 | extern "C" { 13 | #endif 14 | 15 | void trace_init(void); 16 | void trace_term(void); 17 | void trace_fmt(const char *str, ...); 18 | 19 | #define TRACEINIT() trace_init() 20 | #define TRACETERM() trace_term() 21 | #define TRACEOUT(arg) trace_fmt arg 22 | #define VERBOSE(arg) trace_fmt arg 23 | 24 | #ifdef __cplusplus 25 | }; 26 | #endif 27 | 28 | #endif 29 | 30 | -------------------------------------------------------------------------------- /fdd/fdd_xdf.h: -------------------------------------------------------------------------------- 1 | 2 | #ifdef __cplusplus 3 | extern "C" { 4 | #endif 5 | 6 | BRESULT fddxdf_set(FDDFILE fdd, const OEMCHAR *fname, int ro); 7 | BRESULT fddxdf_setfdi(FDDFILE fdd, const OEMCHAR *fname, int ro); 8 | BRESULT fddxdf_eject(FDDFILE fdd); 9 | 10 | BRESULT fddxdf_diskaccess(FDDFILE fdd); 11 | BRESULT fddxdf_seek(FDDFILE fdd); 12 | BRESULT fddxdf_seeksector(FDDFILE fdd); 13 | BRESULT fddxdf_read(FDDFILE fdd); 14 | BRESULT fddxdf_write(FDDFILE fdd); 15 | BRESULT fddxdf_readid(FDDFILE fdd); 16 | 17 | #ifdef __cplusplus 18 | } 19 | #endif 20 | 21 | -------------------------------------------------------------------------------- /libretro-alt/trace.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef TRACE 3 | 4 | #define TRACEINIT() 5 | #define TRACETERM() 6 | #define TRACEOUT(a) 7 | #define VERBOSE(a) 8 | 9 | #else 10 | 11 | #ifdef __cplusplus 12 | extern "C" { 13 | #endif 14 | 15 | void trace_init(void); 16 | void trace_term(void); 17 | void trace_fmt(const char *str, ...); 18 | 19 | #define TRACEINIT() trace_init() 20 | #define TRACETERM() trace_term() 21 | #define TRACEOUT(arg) trace_fmt arg 22 | #define VERBOSE(arg) trace_fmt arg 23 | 24 | #ifdef __cplusplus 25 | }; 26 | #endif 27 | 28 | #endif 29 | 30 | -------------------------------------------------------------------------------- /libretro/shim/trace.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef TRACE 3 | 4 | #define TRACEINIT() 5 | #define TRACETERM() 6 | #define TRACEOUT(a) 7 | #define VERBOSE(a) 8 | 9 | #else 10 | 11 | #ifdef __cplusplus 12 | extern "C" { 13 | #endif 14 | 15 | void trace_init(void); 16 | void trace_term(void); 17 | void trace_fmt(const char *str, ...); 18 | 19 | #define TRACEINIT() trace_init() 20 | #define TRACETERM() trace_term() 21 | #define TRACEOUT(arg) trace_fmt arg 22 | #define VERBOSE(arg) trace_fmt arg 23 | 24 | #ifdef __cplusplus 25 | }; 26 | #endif 27 | 28 | #endif 29 | 30 | -------------------------------------------------------------------------------- /sdl2/iOS/main.m: -------------------------------------------------------------------------------- 1 | /* 2 | * @file main.m 3 | */ 4 | 5 | #import "compiler.h" 6 | #include "../np2.h" 7 | #include "../dosio.h" 8 | 9 | int SDL_main(int argc, char *argv[]) 10 | { 11 | NSArray *paths; 12 | NSString *DocumentsDirPath; 13 | 14 | paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES); 15 | DocumentsDirPath = [paths objectAtIndex:0]; 16 | 17 | NSString *current = [DocumentsDirPath stringByAppendingString:@"/"]; 18 | file_setcd([current UTF8String]); 19 | 20 | return np2_main(argc, argv); 21 | } 22 | -------------------------------------------------------------------------------- /romimage/PROCESS.MAC: -------------------------------------------------------------------------------- 1 | 2 | ifdef NP2 3 | ITF_EXIT macro 4 | mov al, 0fh 5 | out 37h, al 6 | mov al, 0ah 7 | out 37h, al 8 | mov ax, 0 9 | mov ds, ax 10 | itfexitp: mov word ptr ds:[04f8h], 0eaeeh 11 | mov word ptr ds:[04fah], 00008h 12 | mov word ptr ds:[04fch], 0fd80h 13 | mov dx, 043dh 14 | mov al, 12h 15 | db 0eah 16 | dw 04f8h 17 | dw 0000h 18 | endm 19 | endif 20 | 21 | 22 | ifdef MSDOS 23 | ITF_EXIT macro 24 | mov ax, 4c00h 25 | int 21h 26 | endm 27 | endif 28 | 29 | -------------------------------------------------------------------------------- /mem/memegc.h: -------------------------------------------------------------------------------- 1 | 2 | #ifdef __cplusplus 3 | extern "C" { 4 | #endif 5 | 6 | void egcshift(void); 7 | 8 | REG8 MEMCALL egc_readbyte(UINT32 addr); 9 | void MEMCALL egc_writebyte(UINT32 addr, REG8 value); 10 | REG16 MEMCALL egc_readword(UINT32 addr); 11 | void MEMCALL egc_writeword(UINT32 addr, REG16 value); 12 | 13 | REG8 MEMCALL memegc_rd8(UINT32 addr); 14 | void MEMCALL memegc_wr8(UINT32 addr, REG8 value); 15 | REG16 MEMCALL memegc_rd16(UINT32 addr); 16 | void MEMCALL memegc_wr16(UINT32 addr, REG16 value); 17 | 18 | #ifdef __cplusplus 19 | } 20 | #endif 21 | 22 | -------------------------------------------------------------------------------- /romimage/BIOS/VECT08.X86: -------------------------------------------------------------------------------- 1 | 2 | vect08: sti 3 | push ax 4 | push ds 5 | xor ax, ax 6 | mov ds, ax 7 | dec word [0x058a] 8 | pop ds 9 | cli 10 | je short .1 11 | mov al, 0x20 12 | out 0x00, al 13 | out 0x5f, al 14 | sti 15 | mov ah, 0x03 16 | int 0x1c 17 | pop ax 18 | iret 19 | .1: in al, 0x02 20 | or al, 0x01 21 | out 0x5f, al 22 | out 0x02, al 23 | mov al, 0x20 24 | out 0x00, al 25 | out 0x5f, al 26 | sti 27 | pop ax 28 | int 0x07 29 | iret 30 | 31 | -------------------------------------------------------------------------------- /x11/oemtext.h: -------------------------------------------------------------------------------- 1 | #ifndef NP2_X11_OEMTEXT_H__ 2 | #define NP2_X11_OEMTEXT_H__ 3 | 4 | #include "codecnv/codecnv.h" 5 | 6 | #if defined(OSLANG_UTF8) 7 | #define oemtext_sjistooem codecnv_sjistoutf8 8 | #define oemtext_oemtosjis codecnv_utf8tosjis 9 | #elif defined(OSLANG_EUC) 10 | #define oemtext_sjistooem codecnv_sjistoeuc 11 | #define oemtext_oemtosjis codecnv_euctosjis 12 | #endif 13 | 14 | #ifdef __cplusplus 15 | #include 16 | namespace std 17 | { 18 | typedef string oemstring; 19 | } 20 | #endif /* __cplusplus */ 21 | 22 | #endif /* NP2_X11_OEMTEXT_H__ */ 23 | -------------------------------------------------------------------------------- /libretro/libretro_params.h: -------------------------------------------------------------------------------- 1 | #ifndef LREXPORTS_ 2 | #define LREXPORTS_ 3 | 4 | #define LR_SCREENWIDTH 640 5 | #define LR_SCREENHEIGHT 400 6 | #define LR_SCREENASPECT 16.0 / 10.0 7 | #define LR_SCREENFPS 60.0 8 | 9 | #define LR_SOUNDRATE 44100.0 10 | 11 | #define LR_CORENAME "Neko Project II" 12 | #define LR_LIBVERSION "0.86+" 13 | #define LR_VALIDFILEEXT "d98|zip|98d|fdi|fdd|2hd|tfd|d88|88d|hdm|xdf|dup|cmd|hdi|thd|nhd|hdd" 14 | #define LR_NEEDFILEPATH true 15 | #define LR_BLOCKARCEXTRACT false 16 | #define LR_REQUIRESROM false 17 | 18 | #endif 19 | -------------------------------------------------------------------------------- /vram/dispsync.h: -------------------------------------------------------------------------------- 1 | 2 | typedef struct { 3 | UINT text_vbp; 4 | UINT textymax; 5 | UINT grph_vbp; 6 | UINT grphymax; 7 | 8 | UINT scrnxpos; 9 | UINT scrnxmax; 10 | UINT scrnxextend; 11 | UINT scrnymax; 12 | UINT32 textvad; 13 | UINT32 grphvad; 14 | } DSYNC; 15 | 16 | 17 | #ifdef __cplusplus 18 | extern "C" { 19 | #endif 20 | 21 | extern DSYNC dsync; 22 | 23 | void dispsync_initialize(void); 24 | BOOL dispsync_renewalmode(void); 25 | BOOL dispsync_renewalhorizontal(void); 26 | BOOL dispsync_renewalvertical(void); 27 | 28 | #ifdef __cplusplus 29 | } 30 | #endif 31 | 32 | -------------------------------------------------------------------------------- /embed/menubase/menuicon.h: -------------------------------------------------------------------------------- 1 | 2 | enum { 3 | MICON_NULL = 0, 4 | MICON_STOP, 5 | MICON_QUESTION, 6 | MICON_EXCLAME, 7 | MICON_INFO, 8 | MICON_FOLDER, 9 | MICON_FOLDERPARENT, 10 | MICON_FILE, 11 | MICON_USER 12 | }; 13 | 14 | #ifdef __cplusplus 15 | extern "C" { 16 | #endif 17 | 18 | void menuicon_initialize(void); 19 | void menuicon_deinitialize(void); 20 | void menuicon_regist(UINT16 id, const MENURES *res); 21 | VRAMHDL menuicon_lock(UINT16 id, int width, int height, int bpp); 22 | void menuicon_unlock(VRAMHDL vram); 23 | 24 | #ifdef __cplusplus 25 | } 26 | #endif 27 | 28 | -------------------------------------------------------------------------------- /io/np2sysp.h: -------------------------------------------------------------------------------- 1 | 2 | #define NP2SYSP_BIT 4 3 | #define NP2SYSP_LEN (1 << NP2SYSP_BIT) 4 | #define NP2SYSP_MASK (NP2SYSP_LEN - 1) 5 | 6 | typedef struct { 7 | char substr[NP2SYSP_LEN]; 8 | char outstr[NP2SYSP_LEN]; 9 | int strpos; 10 | int outpos; 11 | UINT32 outval; 12 | UINT32 inpval; 13 | } _NP2SYSP, *NP2SYSP; 14 | 15 | 16 | #ifdef __cplusplus 17 | extern "C" { 18 | #endif 19 | 20 | void np2sysp_outstr(const void *arg1, long arg2); 21 | 22 | void np2sysp_reset(const NP2CFG *pConfig); 23 | void np2sysp_bind(void); 24 | 25 | #ifdef __cplusplus 26 | } 27 | #endif 28 | 29 | -------------------------------------------------------------------------------- /sdl2/MacOSX/np2sdl2/en.lproj/Credits.rtf: -------------------------------------------------------------------------------- 1 | {\rtf0\ansi{\fonttbl\f0\fswiss Helvetica;} 2 | {\colortbl;\red255\green255\blue255;} 3 | \paperw9840\paperh8400 4 | \pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural 5 | 6 | \f0\b\fs24 \cf0 Engineering: 7 | \b0 \ 8 | Some people\ 9 | \ 10 | 11 | \b Human Interface Design: 12 | \b0 \ 13 | Some other people\ 14 | \ 15 | 16 | \b Testing: 17 | \b0 \ 18 | Hopefully not nobody\ 19 | \ 20 | 21 | \b Documentation: 22 | \b0 \ 23 | Whoever\ 24 | \ 25 | 26 | \b With special thanks to: 27 | \b0 \ 28 | Mom\ 29 | } 30 | -------------------------------------------------------------------------------- /vram/sdraw.h: -------------------------------------------------------------------------------- 1 | 2 | typedef struct { 3 | const UINT8 *src; 4 | const UINT8 *src2; 5 | UINT8 *dst; 6 | int width; 7 | int xbytes; 8 | int y; 9 | int xalign; 10 | int yalign; 11 | UINT8 dirty[SURFACE_HEIGHT]; 12 | } _SDRAW, *SDRAW; 13 | 14 | typedef void (SCRNCALL * SDRAWFN)(SDRAW sdraw, int maxy); 15 | 16 | 17 | #ifdef __cplusplus 18 | extern "C" { 19 | #endif 20 | 21 | const SDRAWFN *sdraw_getproctbl(const SCRNSURF *surf); 22 | 23 | #if defined(SUPPORT_PC9821) 24 | const SDRAWFN *sdraw_getproctblex(const SCRNSURF *surf); 25 | #endif 26 | 27 | #ifdef __cplusplus 28 | } 29 | #endif 30 | 31 | -------------------------------------------------------------------------------- /i286c/x64/cpucore.inc: -------------------------------------------------------------------------------- 1 | 2 | USE_HIMEM equ 0x110000 3 | 4 | VRAM_STEP equ 0x100000 5 | VRAM_B equ 0x0a8000 6 | VRAM_R equ 0x0b0000 7 | VRAM_G equ 0x0b8000 8 | VRAM_E equ 0x0e0000 9 | 10 | VRAM0_B equ VRAM_B 11 | VRAM0_R equ VRAM_R 12 | VRAM0_G equ VRAM_G 13 | VRAM0_E equ VRAM_E 14 | VRAM1_B equ VRAM_B + VRAM_STEP 15 | VRAM1_R equ VRAM_R + VRAM_STEP 16 | VRAM1_G equ VRAM_G + VRAM_STEP 17 | VRAM1_E equ VRAM_E + VRAM_STEP 18 | 19 | FONT_ADRS equ 0x110000 20 | ITF_ADRS equ 0x1f8000 21 | 22 | %macro VRAMPOS 1 23 | and %1, VRAM_STEP | 7fffh 24 | %endmacro 25 | 26 | -------------------------------------------------------------------------------- /i386c/x64/cpucore.inc: -------------------------------------------------------------------------------- 1 | 2 | USE_HIMEM equ 0x110000 3 | 4 | VRAM_STEP equ 0x100000 5 | VRAM_B equ 0x0a8000 6 | VRAM_R equ 0x0b0000 7 | VRAM_G equ 0x0b8000 8 | VRAM_E equ 0x0e0000 9 | 10 | VRAM0_B equ VRAM_B 11 | VRAM0_R equ VRAM_R 12 | VRAM0_G equ VRAM_G 13 | VRAM0_E equ VRAM_E 14 | VRAM1_B equ VRAM_B + VRAM_STEP 15 | VRAM1_R equ VRAM_R + VRAM_STEP 16 | VRAM1_G equ VRAM_G + VRAM_STEP 17 | VRAM1_E equ VRAM_E + VRAM_STEP 18 | 19 | FONT_ADRS equ 0x110000 20 | ITF_ADRS equ 0x1f8000 21 | 22 | %macro VRAMPOS 1 23 | and %1, VRAM_STEP | 7fffh 24 | %endmacro 25 | 26 | -------------------------------------------------------------------------------- /i386c/x86/cpucore.inc: -------------------------------------------------------------------------------- 1 | 2 | USE_HIMEM equ 0x110000 3 | 4 | VRAM_STEP equ 0x100000 5 | VRAM_B equ 0x0a8000 6 | VRAM_R equ 0x0b0000 7 | VRAM_G equ 0x0b8000 8 | VRAM_E equ 0x0e0000 9 | 10 | VRAM0_B equ VRAM_B 11 | VRAM0_R equ VRAM_R 12 | VRAM0_G equ VRAM_G 13 | VRAM0_E equ VRAM_E 14 | VRAM1_B equ VRAM_B + VRAM_STEP 15 | VRAM1_R equ VRAM_R + VRAM_STEP 16 | VRAM1_G equ VRAM_G + VRAM_STEP 17 | VRAM1_E equ VRAM_E + VRAM_STEP 18 | 19 | FONT_ADRS equ 0x110000 20 | ITF_ADRS equ 0x1f8000 21 | 22 | %macro VRAMPOS 1 23 | and %1, VRAM_STEP | 7fffh 24 | %endmacro 25 | 26 | -------------------------------------------------------------------------------- /x11/taskmng.c: -------------------------------------------------------------------------------- 1 | #include "compiler.h" 2 | 3 | #include "np2.h" 4 | #include "toolkit.h" 5 | 6 | #include "taskmng.h" 7 | 8 | 9 | void 10 | taskmng_initialize(void) 11 | { 12 | 13 | np2running = 1; 14 | } 15 | 16 | BOOL 17 | taskmng_sleep(UINT32 tick) 18 | { 19 | UINT32 base; 20 | UINT32 now; 21 | 22 | base = GETTICK(); 23 | while (taskmng_isavail() && (((now = GETTICK()) - base) < tick)) { 24 | toolkit_event_process(); 25 | usleep((tick - (now - base) / 2) * 1000); 26 | } 27 | return taskmng_isavail(); 28 | } 29 | 30 | void 31 | taskmng_exit(void) 32 | { 33 | 34 | np2running = 0; 35 | } 36 | -------------------------------------------------------------------------------- /io/mouseif.h: -------------------------------------------------------------------------------- 1 | 2 | typedef struct { 3 | uPD8255 upd8255; 4 | UINT32 lastc; 5 | UINT32 intrclock; 6 | UINT32 moveclock; 7 | SINT16 x; 8 | SINT16 y; 9 | SINT16 rx; 10 | SINT16 ry; 11 | SINT16 sx; 12 | SINT16 sy; 13 | SINT16 latch_x; 14 | SINT16 latch_y; 15 | UINT8 timing; 16 | UINT8 rapid; 17 | UINT8 b; 18 | } _MOUSEIF, *MOUSEIF; 19 | 20 | 21 | #ifdef __cplusplus 22 | extern "C" { 23 | #endif 24 | 25 | void mouseif_reset(const NP2CFG *pConfig); 26 | void mouseif_bind(void); 27 | void mouseif_sync(void); 28 | void mouseint(NEVENTITEM item); 29 | 30 | #ifdef __cplusplus 31 | } 32 | #endif 33 | 34 | -------------------------------------------------------------------------------- /sound/sndcsec.c: -------------------------------------------------------------------------------- 1 | /** 2 | * @file sndcsec.c 3 | * @brief Implementation of the critical section for sound 4 | */ 5 | 6 | #include "compiler.h" 7 | #include "sndcsec.h" 8 | 9 | #if defined(SOUND_CRITICAL) 10 | 11 | #if defined(WIN32) || defined(_WIN32_WCE) 12 | 13 | CRITICAL_SECTION g_sndcsec; 14 | 15 | #elif defined(MACOS) 16 | 17 | MPCriticalRegionID g_sndcsec; 18 | 19 | #elif defined(X11) 20 | 21 | pthread_mutex_t g_sndcsec; /* = PTHREAD_MUTEX_INITIALIZER; */ 22 | 23 | #elif defined(_SDL_mutex_h) 24 | 25 | SDL_mutex* g_sndcsec; 26 | 27 | #endif 28 | 29 | #endif /* defined(SOUND_CRITICAL) */ 30 | -------------------------------------------------------------------------------- /common/parts.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef PARTSCALL 3 | #define PARTSCALL 4 | #endif 5 | 6 | #ifdef __cplusplus 7 | extern "C" { 8 | #endif 9 | 10 | void PARTSCALL rand_setseed(SINT32 seed); 11 | SINT32 PARTSCALL rand_get(void); 12 | UINT8 PARTSCALL AdjustAfterMultiply(UINT8 value); 13 | UINT8 PARTSCALL AdjustBeforeDivision(UINT8 value); 14 | UINT PARTSCALL sjis2jis(UINT sjis); 15 | UINT PARTSCALL jis2sjis(UINT jis); 16 | void PARTSCALL satuation_s16(SINT16 *dst, const SINT32 *src, UINT size); 17 | void PARTSCALL satuation_s16x(SINT16 *dst, const SINT32 *src, UINT size); 18 | 19 | #ifdef __cplusplus 20 | } 21 | #endif 22 | 23 | -------------------------------------------------------------------------------- /romimage/ITFD.MK: -------------------------------------------------------------------------------- 1 | AS = masm 2 | AOPT = /ML /DMSDOS /DDEBUG 3 | OBJ = DEBUG 4 | 5 | itf.com: $(OBJ)\itf.exe 6 | exe2bin $(OBJ)\itf itf.com 7 | 8 | $(OBJ)\itf.exe: $(OBJ)\itf.obj 9 | link $(OBJ)\itf,$(OBJ)\itf; 10 | 11 | $(OBJ)\itf.obj: itf.asm itf.inc dataseg.inc process.mac debug.mac \ 12 | resource.x86 itfsub.x86 \ 13 | keyboard.inc keyboard.x86 textdisp.x86 \ 14 | np2.x86 dipsw.x86 memsw.x86 \ 15 | beep.x86 firmware.x86 memchk.x86 \ 16 | ssp.x86 ssp_res.x86 ssp_sub.x86 ssp_dip.x86 ssp_msw.x86 17 | $(AS) $(AOPT) $(*B),$*; 18 | 19 | resource.x86: resource.txt 20 | tool\txtpack resource.txt > resource.x86 21 | -------------------------------------------------------------------------------- /android-project/project.properties: -------------------------------------------------------------------------------- 1 | # This file is automatically generated by Android Tools. 2 | # Do not modify this file -- YOUR CHANGES WILL BE ERASED! 3 | # 4 | # This file must be checked in Version Control Systems. 5 | # 6 | # To customize properties used by the Ant build system edit 7 | # "ant.properties", and override values to adapt the script to your 8 | # project structure. 9 | # 10 | # To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home): 11 | #proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt 12 | 13 | # Project target. 14 | target=android-19 15 | -------------------------------------------------------------------------------- /fdd/fdd_d88.h: -------------------------------------------------------------------------------- 1 | 2 | #ifdef __cplusplus 3 | extern "C" { 4 | #endif 5 | 6 | BRESULT fddd88_set(FDDFILE fdd, const OEMCHAR *fname, int ro); 7 | BRESULT fddd88_eject(FDDFILE fdd); 8 | 9 | BRESULT fdd_diskaccess_d88(void); 10 | BRESULT fdd_seek_d88(void); 11 | BRESULT fdd_seeksector_d88(void); 12 | BRESULT fdd_read_d88(void); 13 | BRESULT fdd_write_d88(void); 14 | BRESULT fdd_diagread_d88(void); 15 | BRESULT fdd_readid_d88(void); 16 | BRESULT fdd_writeid_d88(void); 17 | 18 | BRESULT fdd_formatinit_d88(void); 19 | BRESULT fdd_formating_d88(const UINT8 *ID); 20 | BOOL fdd_isformating_d88(void); 21 | 22 | #ifdef __cplusplus 23 | } 24 | #endif 25 | 26 | -------------------------------------------------------------------------------- /x11/misc/guard.h: -------------------------------------------------------------------------------- 1 | /*! 2 | * @file guard.h 3 | * @brief クリティカル セクション クラスの宣言およびインターフェイスの定義をします 4 | */ 5 | 6 | #pragma once 7 | 8 | #include 9 | 10 | /*! 11 | * @brief クリティカル セクション クラス 12 | */ 13 | class CGuard 14 | { 15 | public: 16 | /*! コンストラクタ */ 17 | CGuard() { ::pthread_mutex_init(&m_cs, NULL); } 18 | 19 | /*! デストラクタ */ 20 | ~CGuard() { ::pthread_mutex_destroy(&m_cs); } 21 | 22 | /*! クリティカル セクション開始 */ 23 | void Enter() { ::pthread_mutex_lock(&m_cs); } 24 | 25 | /*! クリティカル セクション終了 */ 26 | void Leave() { ::pthread_mutex_unlock(&m_cs); } 27 | 28 | private: 29 | pthread_mutex_t m_cs; //!< クリティカル セクション情報 30 | }; 31 | -------------------------------------------------------------------------------- /sdl2/soundmng.h: -------------------------------------------------------------------------------- 1 | 2 | enum { 3 | SOUND_PCMSEEK = 0, 4 | SOUND_PCMSEEK1 = 1, 5 | 6 | SOUND_MAXPCM 7 | }; 8 | 9 | 10 | #ifdef __cplusplus 11 | extern "C" { 12 | #endif 13 | 14 | UINT soundmng_create(UINT rate, UINT ms); 15 | void soundmng_destroy(void); 16 | #define soundmng_reset() 17 | void soundmng_play(void); 18 | void soundmng_stop(void); 19 | #define soundmng_sync() 20 | #define soundmng_setreverse(r) 21 | 22 | #define soundmng_pcmplay(a, b) 23 | #define soundmng_pcmstop(a) 24 | 25 | 26 | 27 | // ---- for SDL 28 | 29 | void soundmng_initialize(void); 30 | void soundmng_deinitialize(void); 31 | 32 | #ifdef __cplusplus 33 | } 34 | #endif 35 | -------------------------------------------------------------------------------- /libretro-alt/soundmng.h: -------------------------------------------------------------------------------- 1 | 2 | enum { 3 | SOUND_PCMSEEK = 0, 4 | SOUND_PCMSEEK1 = 1, 5 | 6 | SOUND_MAXPCM 7 | }; 8 | 9 | 10 | #ifdef __cplusplus 11 | extern "C" { 12 | #endif 13 | 14 | UINT soundmng_create(UINT rate, UINT ms); 15 | void soundmng_destroy(void); 16 | #define soundmng_reset() 17 | void soundmng_play(void); 18 | void soundmng_stop(void); 19 | #define soundmng_sync() 20 | #define soundmng_setreverse(r) 21 | 22 | #define soundmng_pcmplay(a, b) 23 | #define soundmng_pcmstop(a) 24 | 25 | 26 | 27 | // ---- for SDL 28 | 29 | void soundmng_initialize(void); 30 | void soundmng_deinitialize(void); 31 | 32 | #ifdef __cplusplus 33 | } 34 | #endif 35 | -------------------------------------------------------------------------------- /sdl2/MacOSX/np2sdl2/misc/guard.h: -------------------------------------------------------------------------------- 1 | /*! 2 | * @file guard.h 3 | * @brief クリティカル セクション クラスの宣言およびインターフェイスの定義をします 4 | */ 5 | 6 | #pragma once 7 | 8 | #include 9 | 10 | /*! 11 | * @brief クリティカル セクション クラス 12 | */ 13 | class CGuard 14 | { 15 | public: 16 | /*! コンストラクタ */ 17 | CGuard() { ::pthread_mutex_init(&m_cs, NULL); } 18 | 19 | /*! デストラクタ */ 20 | ~CGuard() { ::pthread_mutex_destroy(&m_cs); } 21 | 22 | /*! クリティカル セクション開始 */ 23 | void Enter() { ::pthread_mutex_lock(&m_cs); } 24 | 25 | /*! クリティカル セクション終了 */ 26 | void Leave() { ::pthread_mutex_unlock(&m_cs); } 27 | 28 | private: 29 | pthread_mutex_t m_cs; //!< クリティカル セクション情報 30 | }; 31 | -------------------------------------------------------------------------------- /libretro/libretro-common/include/wiiu/os/condition.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #include 3 | #include 4 | 5 | #ifdef __cplusplus 6 | extern "C" { 7 | #endif 8 | 9 | #define OS_CONDITION_TAG 0x634E6456u 10 | 11 | typedef struct OSCondition 12 | { 13 | uint32_t tag; 14 | const char *name; 15 | uint32_t __unknown; 16 | OSThreadQueue queue; 17 | }OSCondition; 18 | 19 | void OSInitCond(OSCondition *condition); 20 | void OSInitCondEx(OSCondition *condition, const char *name); 21 | void OSWaitCond(OSCondition *condition, OSMutex *mutex); 22 | void OSSignalCond(OSCondition *condition); 23 | 24 | #ifdef __cplusplus 25 | } 26 | #endif 27 | -------------------------------------------------------------------------------- /sdl2/sysmng.c: -------------------------------------------------------------------------------- 1 | /** 2 | * @file sysmng.c 3 | * @brief Implementation of the system 4 | */ 5 | 6 | #include "compiler.h" 7 | #include "sysmng.h" 8 | #include "ini.h" 9 | 10 | /** 11 | * Initialize 12 | */ 13 | void sysmng_initialize(void) 14 | { 15 | } 16 | 17 | /** 18 | * Deinitialize 19 | */ 20 | void sysmng_deinitialize(void) 21 | { 22 | } 23 | 24 | /** 25 | * Notifies flags 26 | * @param[in] update update flags 27 | */ 28 | void sysmng_update(UINT update) 29 | { 30 | if (update & (SYS_UPDATECFG | SYS_UPDATEOSCFG)) 31 | { 32 | initsave(); 33 | } 34 | } 35 | 36 | /** 37 | * Notifies CPU Reset 38 | */ 39 | void sysmng_cpureset(void) 40 | { 41 | } 42 | -------------------------------------------------------------------------------- /win9x/np2.dsw: -------------------------------------------------------------------------------- 1 | Microsoft Developer Studio Workspace File, Format Version 6.00 2 | # WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! 3 | 4 | ############################################################################### 5 | 6 | Project: "np2"=.\np2.dsp - Package Owner=<4> 7 | 8 | Package=<5> 9 | {{{ 10 | }}} 11 | 12 | Package=<4> 13 | {{{ 14 | }}} 15 | 16 | ############################################################################### 17 | 18 | Global: 19 | 20 | Package=<5> 21 | {{{ 22 | }}} 23 | 24 | Package=<3> 25 | {{{ 26 | }}} 27 | 28 | ############################################################################### 29 | 30 | -------------------------------------------------------------------------------- /np2tool/NP2TOOL.X86: -------------------------------------------------------------------------------- 1 | 2 | ; in cld/ds=cs / ret z & bx 3 | np2_check: mov ah, 0fh 4 | int 10h 5 | cmp ah, 0fh 6 | mov bx, _msg_pcat 7 | jne short np2check_err 8 | add bx, byte 6 9 | mov si, bx 10 | call sendnp2port 11 | xchg si, bx 12 | checknp2port: lodsb 13 | mov cl, al 14 | .lp: in al, dx 15 | inc si 16 | cmp al, [si-1] 17 | loope .lp 18 | np2check_err: ret 19 | 20 | sendnp2port: mov dx, NP2PORT 21 | xor cx, cx 22 | lodsb 23 | mov cl, al 24 | .lp: lodsb 25 | out dx, al 26 | loop .lp 27 | ret 28 | 29 | _msg_pcat db 'PC/AT$' 30 | db 3, 'NP2' 31 | db 'Real PC-98x1$' 32 | 33 | -------------------------------------------------------------------------------- /libretro-alt/sysmng.c: -------------------------------------------------------------------------------- 1 | /** 2 | * @file sysmng.c 3 | * @brief Implementation of the system 4 | */ 5 | 6 | #include "compiler.h" 7 | #include "sysmng.h" 8 | #include "ini.h" 9 | 10 | /** 11 | * Initialize 12 | */ 13 | void sysmng_initialize(void) 14 | { 15 | } 16 | 17 | /** 18 | * Deinitialize 19 | */ 20 | void sysmng_deinitialize(void) 21 | { 22 | } 23 | 24 | /** 25 | * Notifies flags 26 | * @param[in] update update flags 27 | */ 28 | void sysmng_update(UINT update) 29 | { 30 | if (update & (SYS_UPDATECFG | SYS_UPDATEOSCFG)) 31 | { 32 | initsave(); 33 | } 34 | } 35 | 36 | /** 37 | * Notifies CPU Reset 38 | */ 39 | void sysmng_cpureset(void) 40 | { 41 | } 42 | -------------------------------------------------------------------------------- /libretro/shim/sysmng.c: -------------------------------------------------------------------------------- 1 | /** 2 | * @file sysmng.c 3 | * @brief Implementation of the system 4 | */ 5 | 6 | #include "compiler.h" 7 | #include "sysmng.h" 8 | #include "ini.h" 9 | 10 | /** 11 | * Initialize 12 | */ 13 | void sysmng_initialize(void) 14 | { 15 | } 16 | 17 | /** 18 | * Deinitialize 19 | */ 20 | void sysmng_deinitialize(void) 21 | { 22 | } 23 | 24 | /** 25 | * Notifies flags 26 | * @param[in] update update flags 27 | */ 28 | void sysmng_update(UINT update) 29 | { 30 | if (update & (SYS_UPDATECFG | SYS_UPDATEOSCFG)) 31 | { 32 | initsave(); 33 | } 34 | } 35 | 36 | /** 37 | * Notifies CPU Reset 38 | */ 39 | void sysmng_cpureset(void) 40 | { 41 | } 42 | -------------------------------------------------------------------------------- /vram/scrndraw.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef SCRNCALL 3 | #define SCRNCALL 4 | #endif 5 | 6 | enum { 7 | SURFACE_WIDTH = 640, 8 | SURFACE_HEIGHT = 480, 9 | SURFACE_SIZE = (SURFACE_WIDTH * SURFACE_HEIGHT), 10 | 11 | START_PALORG = 0x0a, 12 | START_PAL = 0x10 13 | }; 14 | 15 | 16 | #ifdef __cplusplus 17 | extern "C" { 18 | #endif 19 | 20 | extern UINT8 renewal_line[SURFACE_HEIGHT]; 21 | extern UINT8 np2_tram[SURFACE_SIZE]; 22 | extern UINT8 np2_vram[2][SURFACE_SIZE]; 23 | 24 | void scrndraw_initialize(void); 25 | void scrndraw_changepalette(void); 26 | UINT8 scrndraw_draw(UINT8 update); 27 | void scrndraw_redraw(void); 28 | 29 | #ifdef __cplusplus 30 | } 31 | #endif 32 | 33 | -------------------------------------------------------------------------------- /x11/timemng.c: -------------------------------------------------------------------------------- 1 | #include "compiler.h" 2 | 3 | #include 4 | 5 | #include "timemng.h" 6 | 7 | BRESULT 8 | timemng_gettime(_SYSTIME *systime) 9 | { 10 | struct tm *now_time; 11 | time_t long_time; 12 | 13 | time(&long_time); 14 | now_time = localtime(&long_time); 15 | if (now_time != NULL) { 16 | systime->year = now_time->tm_year + 1900; 17 | systime->month = now_time->tm_mon + 1; 18 | systime->week = now_time->tm_wday; 19 | systime->day = now_time->tm_mday; 20 | systime->hour = now_time->tm_hour; 21 | systime->minute = now_time->tm_min; 22 | systime->second = now_time->tm_sec; 23 | systime->milli = 0; 24 | 25 | return SUCCESS; 26 | } 27 | return FAILURE; 28 | } 29 | -------------------------------------------------------------------------------- /io/crtc.h: -------------------------------------------------------------------------------- 1 | 2 | typedef union { 3 | struct { 4 | UINT8 pl; 5 | UINT8 bl; 6 | UINT8 cl; 7 | UINT8 ssl; 8 | UINT8 sur; 9 | UINT8 sdr; 10 | } reg; 11 | UINT8 b[6]; 12 | } _CRTC, *CRTC; 13 | 14 | typedef union { 15 | UINT8 b[2]; 16 | UINT16 w; 17 | } PAIR16; 18 | 19 | typedef struct { 20 | UINT32 counter; 21 | UINT16 mode; 22 | UINT8 modereg; 23 | UINT8 padding; 24 | PAIR16 tile[4]; 25 | UINT32 gdcwithgrcg; 26 | UINT8 chip; 27 | } _GRCG, *GRCG; 28 | 29 | 30 | #ifdef __cplusplus 31 | extern "C" { 32 | #endif 33 | 34 | void crtc_reset(const NP2CFG *pConfig); 35 | void crtc_bind(void); 36 | 37 | void crtc_biosreset(void); 38 | 39 | #ifdef __cplusplus 40 | } 41 | #endif 42 | 43 | -------------------------------------------------------------------------------- /io/gdc_pset.h: -------------------------------------------------------------------------------- 1 | 2 | struct _gdcpset; 3 | typedef struct _gdcpset _GDCPSET; 4 | typedef struct _gdcpset *GDCPSET; 5 | 6 | typedef void (MEMCALL * GDCPFN)(GDCPSET pen, UINT addr, UINT bit); 7 | 8 | struct _gdcpset { 9 | GDCPFN func[2]; 10 | union { 11 | UINT8 *ptr; // raw access / grcg 12 | UINT32 addr; // egc 13 | } base; 14 | UINT16 pattern; 15 | PAIR16 update; 16 | UINT16 x; 17 | UINT16 y; 18 | UINT dots; 19 | }; 20 | 21 | 22 | #ifdef __cplusplus 23 | extern "C" { 24 | #endif 25 | 26 | void MEMCALL gdcpset_prepare(GDCPSET pset, UINT32 csrw, REG16 pat, REG8 op); 27 | void MEMCALL gdcpset(GDCPSET pset, REG16 x, REG16 y); 28 | 29 | #ifdef __cplusplus 30 | } 31 | #endif 32 | 33 | -------------------------------------------------------------------------------- /np2tool/PWOFF.ASM: -------------------------------------------------------------------------------- 1 | 2 | ORG 100h 3 | USE16 4 | CPU 8086 5 | 6 | %include 'np2tool.inc' 7 | 8 | START: cld 9 | push cs 10 | pop ds 11 | cli 12 | call np2_check 13 | jne short err_nonnp2 14 | call sendnp2port 15 | mov ax, 4c00h 16 | int 21h 17 | 18 | err_nonnp2: mov ah, 9 19 | mov dx, str_illegal 20 | int 21h 21 | mov ah, 9 22 | mov dx, bx 23 | int 21h 24 | mov ah, 9 25 | mov dx, str_crlf 26 | int 21h 27 | mov ax, 4c01h 28 | int 21h 29 | 30 | 31 | %include 'np2tool.x86' 32 | db 8, 'poweroff' 33 | 34 | 35 | str_illegal db 'Illegal hardware - $' 36 | str_crlf db 0dh, 0ah, '$' 37 | 38 | ends 39 | 40 | -------------------------------------------------------------------------------- /cbus/scsiio.h: -------------------------------------------------------------------------------- 1 | 2 | #if defined(SUPPORT_SCSI) 3 | 4 | typedef struct { 5 | UINT port; 6 | UINT phase; 7 | UINT8 reg[0x30]; 8 | UINT8 auxstatus; 9 | UINT8 scsistatus; 10 | UINT8 membank; 11 | UINT8 memwnd; 12 | UINT8 resent; 13 | UINT8 datmap; 14 | UINT cmdpos; 15 | UINT wrdatpos; 16 | UINT rddatpos; 17 | UINT8 cmd[12]; 18 | UINT8 data[0x10000]; 19 | UINT8 bios[2][0x2000]; 20 | } _SCSIIO, *SCSIIO; 21 | 22 | 23 | #ifdef __cplusplus 24 | extern "C" { 25 | #endif 26 | 27 | extern _SCSIIO scsiio; 28 | 29 | void scsiioint(NEVENTITEM item); 30 | 31 | void scsiio_reset(const NP2CFG *pConfig); 32 | void scsiio_bind(void); 33 | 34 | #ifdef __cplusplus 35 | } 36 | #endif 37 | 38 | #endif 39 | 40 | -------------------------------------------------------------------------------- /sdl2/inputmng.h: -------------------------------------------------------------------------------- 1 | 2 | enum { 3 | LBUTTON_BIT = (1 << 0), 4 | RBUTTON_BIT = (1 << 1), 5 | LBUTTON_DOWNBIT = (1 << 2), 6 | RBUTTON_DOWNBIT = (1 << 3), 7 | LBUTTON_UPBIT = (1 << 4), 8 | RBUTTON_UPBIT = (1 << 5), 9 | MOUSE_MOVEBIT = (1 << 6), 10 | 11 | KEY_ENTER = 0x01, 12 | KEY_MENU = 0x02, 13 | KEY_SKIP = 0x04, 14 | KEY_EXT = 0x08, 15 | KEY_UP = 0x10, 16 | KEY_DOWN = 0x20, 17 | KEY_LEFT = 0x40, 18 | KEY_RIGHT = 0x80 19 | }; 20 | 21 | 22 | #ifdef __cplusplus 23 | extern "C" { 24 | #endif 25 | 26 | void inputmng_init(void); 27 | void inputmng_keybind(short key, UINT bit); 28 | UINT inputmng_getkey(short key); 29 | 30 | #ifdef __cplusplus 31 | } 32 | #endif 33 | 34 | -------------------------------------------------------------------------------- /sound/rhythm.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file rhythm.h 3 | * @brief Interface of the OPNA rhythm 4 | */ 5 | 6 | #pragma once 7 | 8 | #include "pcmmix.h" 9 | 10 | typedef struct { 11 | PMIXHDR hdr; 12 | PMIXTRK trk[6]; 13 | UINT vol; 14 | UINT8 trkvol[8]; 15 | } _RHYTHM, *RHYTHM; 16 | 17 | 18 | #ifdef __cplusplus 19 | extern "C" { 20 | #endif 21 | 22 | void rhythm_initialize(UINT rate); 23 | void rhythm_deinitialize(void); 24 | UINT rhythm_getcaps(void); 25 | void rhythm_setvol(UINT vol); 26 | 27 | void rhythm_reset(RHYTHM rhy); 28 | void rhythm_bind(RHYTHM rhy); 29 | void rhythm_update(RHYTHM rhy); 30 | void rhythm_setreg(RHYTHM rhy, UINT reg, REG8 val); 31 | 32 | #ifdef __cplusplus 33 | } 34 | #endif 35 | -------------------------------------------------------------------------------- /sdl2/timemng.c: -------------------------------------------------------------------------------- 1 | #include "compiler.h" 2 | #include 3 | #include "timemng.h" 4 | 5 | 6 | BRESULT timemng_gettime(_SYSTIME *systime) { 7 | 8 | time_t long_time; 9 | struct tm *now_time; 10 | 11 | time(&long_time); 12 | now_time = localtime(&long_time); 13 | if (now_time != NULL) { 14 | systime->year = now_time->tm_year + 1900; 15 | systime->month = now_time->tm_mon + 1; 16 | systime->week = now_time->tm_wday; 17 | systime->day = now_time->tm_mday; 18 | systime->hour = now_time->tm_hour; 19 | systime->minute = now_time->tm_min; 20 | systime->second = now_time->tm_sec; 21 | systime->milli = 0; 22 | return(SUCCESS); 23 | } 24 | else { 25 | return(FAILURE); 26 | } 27 | } 28 | 29 | -------------------------------------------------------------------------------- /sdl2/trace.c: -------------------------------------------------------------------------------- 1 | #include "compiler.h" 2 | #include 3 | #if defined(WIN32) && defined(OSLANG_EUC) 4 | #include "codecnv/codecnv.h" 5 | #endif 6 | 7 | #ifdef TRACE 8 | void trace_init(void) { 9 | } 10 | 11 | void trace_term(void) { 12 | } 13 | 14 | void trace_fmt(const char *fmt, ...) { 15 | 16 | va_list ap; 17 | char buf[1024]; 18 | #if defined(WIN32) && defined(OSLANG_EUC) 19 | char sjis[1024]; 20 | #endif 21 | 22 | va_start(ap, fmt); 23 | vsprintf(buf, fmt, ap); 24 | va_end(ap); 25 | #if defined(WIN32) && defined(OSLANG_EUC) 26 | codecnv_euctosjis(sjis, NELEMENTS(sjis), buf, (UINT)-1); 27 | printf("%s\n", sjis); 28 | #else 29 | printf("%s\n", buf); 30 | #endif 31 | } 32 | #endif 33 | 34 | -------------------------------------------------------------------------------- /libretro-alt/inputmng.h: -------------------------------------------------------------------------------- 1 | 2 | enum { 3 | LBUTTON_BIT = (1 << 0), 4 | RBUTTON_BIT = (1 << 1), 5 | LBUTTON_DOWNBIT = (1 << 2), 6 | RBUTTON_DOWNBIT = (1 << 3), 7 | LBUTTON_UPBIT = (1 << 4), 8 | RBUTTON_UPBIT = (1 << 5), 9 | MOUSE_MOVEBIT = (1 << 6), 10 | 11 | KEY_ENTER = 0x01, 12 | KEY_MENU = 0x02, 13 | KEY_SKIP = 0x04, 14 | KEY_EXT = 0x08, 15 | KEY_UP = 0x10, 16 | KEY_DOWN = 0x20, 17 | KEY_LEFT = 0x40, 18 | KEY_RIGHT = 0x80 19 | }; 20 | 21 | 22 | #ifdef __cplusplus 23 | extern "C" { 24 | #endif 25 | 26 | void inputmng_init(void); 27 | void inputmng_keybind(short key, UINT bit); 28 | UINT inputmng_getkey(short key); 29 | 30 | #ifdef __cplusplus 31 | } 32 | #endif 33 | 34 | -------------------------------------------------------------------------------- /libretro-alt/trace.c: -------------------------------------------------------------------------------- 1 | #include "compiler.h" 2 | #include 3 | #if defined(WIN32) && defined(OSLANG_EUC) 4 | #include "codecnv/codecnv.h" 5 | #endif 6 | 7 | #ifdef TRACE 8 | void trace_init(void) { 9 | } 10 | 11 | void trace_term(void) { 12 | } 13 | 14 | void trace_fmt(const char *fmt, ...) { 15 | 16 | va_list ap; 17 | char buf[1024]; 18 | #if defined(WIN32) && defined(OSLANG_EUC) 19 | char sjis[1024]; 20 | #endif 21 | 22 | va_start(ap, fmt); 23 | vsprintf(buf, fmt, ap); 24 | va_end(ap); 25 | #if defined(WIN32) && defined(OSLANG_EUC) 26 | codecnv_euctosjis(sjis, NELEMENTS(sjis), buf, (UINT)-1); 27 | printf("%s\n", sjis); 28 | #else 29 | printf("%s\n", buf); 30 | #endif 31 | } 32 | #endif 33 | 34 | -------------------------------------------------------------------------------- /bios/sxsibios.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file sxsibios.h 3 | * @brief Interface of SxSI BIOS 4 | */ 5 | 6 | #pragma once 7 | 8 | enum { 9 | SXSIBIOS_SASI = 0, 10 | SXSIBIOS_IDE = 1, 11 | SXSIBIOS_SCSI = 2 12 | }; 13 | 14 | #ifdef __cplusplus 15 | extern "C" { 16 | #endif 17 | 18 | REG8 sasibios_operate(void); 19 | 20 | #if defined(SUPPORT_SCSI) 21 | REG8 scsibios_operate(void); 22 | #endif 23 | 24 | #if defined(SUPPORT_IDEIO) || defined(SUPPORT_SASI) 25 | void np2sysp_sasi(const void *arg1, long arg2); 26 | #endif 27 | 28 | #if defined(SUPPORT_SCSI) 29 | void np2sysp_scsi(const void *arg1, long arg2); 30 | void np2sysp_scsidev(const void *arg1, long arg2); 31 | #endif 32 | 33 | #ifdef __cplusplus 34 | } 35 | #endif 36 | -------------------------------------------------------------------------------- /libretro-alt/timemng.c: -------------------------------------------------------------------------------- 1 | #include "compiler.h" 2 | #include 3 | #include "timemng.h" 4 | 5 | 6 | BRESULT timemng_gettime(_SYSTIME *systime) { 7 | 8 | time_t long_time; 9 | struct tm *now_time; 10 | 11 | time(&long_time); 12 | now_time = localtime(&long_time); 13 | if (now_time != NULL) { 14 | systime->year = now_time->tm_year + 1900; 15 | systime->month = now_time->tm_mon + 1; 16 | systime->week = now_time->tm_wday; 17 | systime->day = now_time->tm_mday; 18 | systime->hour = now_time->tm_hour; 19 | systime->minute = now_time->tm_min; 20 | systime->second = now_time->tm_sec; 21 | systime->milli = 0; 22 | return(SUCCESS); 23 | } 24 | else { 25 | return(FAILURE); 26 | } 27 | } 28 | 29 | -------------------------------------------------------------------------------- /libretro/shim/timemng.c: -------------------------------------------------------------------------------- 1 | #include "compiler.h" 2 | #include 3 | #include "timemng.h" 4 | 5 | 6 | BRESULT timemng_gettime(_SYSTIME *systime) { 7 | 8 | time_t long_time; 9 | struct tm *now_time; 10 | 11 | time(&long_time); 12 | now_time = localtime(&long_time); 13 | if (now_time != NULL) { 14 | systime->year = now_time->tm_year + 1900; 15 | systime->month = now_time->tm_mon + 1; 16 | systime->week = now_time->tm_wday; 17 | systime->day = now_time->tm_mday; 18 | systime->hour = now_time->tm_hour; 19 | systime->minute = now_time->tm_min; 20 | systime->second = now_time->tm_sec; 21 | systime->milli = 0; 22 | return(SUCCESS); 23 | } 24 | else { 25 | return(FAILURE); 26 | } 27 | } 28 | 29 | -------------------------------------------------------------------------------- /libretro/shim/trace.c: -------------------------------------------------------------------------------- 1 | #include "compiler.h" 2 | #include 3 | #if defined(WIN32) && defined(OSLANG_EUC) 4 | #include "codecnv/codecnv.h" 5 | #endif 6 | 7 | #ifdef TRACE 8 | void trace_init(void) { 9 | } 10 | 11 | void trace_term(void) { 12 | } 13 | 14 | void trace_fmt(const char *fmt, ...) { 15 | 16 | va_list ap; 17 | char buf[1024]; 18 | #if defined(WIN32) && defined(OSLANG_EUC) 19 | char sjis[1024]; 20 | #endif 21 | 22 | va_start(ap, fmt); 23 | vsprintf(buf, fmt, ap); 24 | va_end(ap); 25 | #if defined(WIN32) && defined(OSLANG_EUC) 26 | codecnv_euctosjis(sjis, NELEMENTS(sjis), buf, (UINT)-1); 27 | printf("%s\n", sjis); 28 | #else 29 | printf("%s\n", buf); 30 | #endif 31 | } 32 | #endif 33 | 34 | -------------------------------------------------------------------------------- /libretro/shim/soundmng.h: -------------------------------------------------------------------------------- 1 | 2 | enum { 3 | SOUND_PCMSEEK = 0, 4 | SOUND_PCMSEEK1 = 1, 5 | 6 | SOUND_MAXPCM 7 | }; 8 | 9 | 10 | #ifdef __cplusplus 11 | extern "C" { 12 | #endif 13 | 14 | UINT soundmng_create(UINT rate, UINT ms); 15 | void soundmng_destroy(void); 16 | #define soundmng_reset() 17 | void soundmng_play(void); 18 | void soundmng_stop(void); 19 | #define soundmng_sync() 20 | #define soundmng_setreverse(r) 21 | 22 | #define soundmng_pcmplay(a, b) 23 | #define soundmng_pcmstop(a) 24 | 25 | 26 | 27 | // ---- for SDL 28 | 29 | void soundmng_initialize(void); 30 | void soundmng_deinitialize(void); 31 | 32 | void sound_play_cb(void *userdata, UINT8 *stream, int len); 33 | 34 | #ifdef __cplusplus 35 | } 36 | #endif 37 | -------------------------------------------------------------------------------- /x11/trace.h: -------------------------------------------------------------------------------- 1 | #ifndef NP2_X11_TRACE_H__ 2 | #define NP2_X11_TRACE_H__ 3 | 4 | G_BEGIN_DECLS 5 | 6 | extern int trace_flag; 7 | 8 | void trace_init(void); 9 | void trace_term(void); 10 | void trace_fmt(const char *str, ...) G_GNUC_PRINTF(1, 2); 11 | 12 | #ifndef TRACE 13 | 14 | #define TRACEINIT() 15 | #define TRACETERM() 16 | #define TRACEOUT(a) 17 | #ifndef VERBOSE 18 | #define VERBOSE(s) 19 | #endif 20 | 21 | #else /* TRACE */ 22 | 23 | #define TRACEINIT() trace_init() 24 | #define TRACETERM() trace_term() 25 | #define TRACEOUT(arg) trace_fmt arg 26 | #ifndef VERBOSE 27 | #define VERBOSE(arg) if (trace_flag) trace_fmt arg 28 | #endif 29 | 30 | #endif /* !TRACE */ 31 | 32 | G_END_DECLS 33 | 34 | #endif /* NP2_X11_TRACE_H__ */ 35 | -------------------------------------------------------------------------------- /generic/softkbd.h: -------------------------------------------------------------------------------- 1 | 2 | #if defined(SUPPORT_SOFTKBD) 3 | 4 | #include "cmndraw.h" 5 | 6 | enum { 7 | LEDFLAG_NUM = 0x01, 8 | LEDFLAG_CAPS = 0x04, 9 | LEDFLAG_KANA = 0x08 10 | }; 11 | 12 | enum { 13 | SOFTKEY_FLAGDRAW = 0x01, 14 | SOFTKEY_FLAGREDRAW = 0x02 15 | }; 16 | 17 | 18 | #ifdef __cplusplus 19 | extern "C" { 20 | #endif 21 | 22 | void softkbd_initialize(void); 23 | void softkbd_deinitialize(void); 24 | BRESULT softkbd_getsize(int *width, int *height); 25 | REG8 softkbd_process(void); 26 | BOOL softkbd_paint(CMNVRAM *vram, CMNPALCNV cnv, BOOL redraw); 27 | BOOL softkbd_down(int x, int y); 28 | void softkbd_up(void); 29 | void softkbd_led(REG8 led); 30 | 31 | #ifdef __cplusplus 32 | } 33 | #endif 34 | 35 | #endif 36 | 37 | -------------------------------------------------------------------------------- /libretro/shim/inputmng.h: -------------------------------------------------------------------------------- 1 | 2 | enum { 3 | LBUTTON_BIT = (1 << 0), 4 | RBUTTON_BIT = (1 << 1), 5 | LBUTTON_DOWNBIT = (1 << 2), 6 | RBUTTON_DOWNBIT = (1 << 3), 7 | LBUTTON_UPBIT = (1 << 4), 8 | RBUTTON_UPBIT = (1 << 5), 9 | MOUSE_MOVEBIT = (1 << 6), 10 | 11 | KEY_ENTER = 0x01, 12 | KEY_MENU = 0x02, 13 | KEY_SKIP = 0x04, 14 | KEY_EXT = 0x08, 15 | KEY_UP = 0x10, 16 | KEY_DOWN = 0x20, 17 | KEY_LEFT = 0x40, 18 | KEY_RIGHT = 0x80 19 | }; 20 | 21 | 22 | #ifdef __cplusplus 23 | extern "C" { 24 | #endif 25 | 26 | void inputmng_init(void); 27 | void inputmng_keybind(short key, UINT bit); 28 | UINT inputmng_getkey(short key); 29 | 30 | #ifdef __cplusplus 31 | } 32 | #endif 33 | 34 | -------------------------------------------------------------------------------- /cbus/board14.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @file board14.h 3 | * @brief Interface of PC-9801-14 4 | */ 5 | 6 | #pragma once 7 | 8 | /** 9 | * @breif The sturecture of PC-9801-14 10 | */ 11 | struct musicgen_t 12 | { 13 | UINT8 porta; 14 | UINT8 portb; 15 | UINT8 portc; 16 | UINT8 mask; 17 | UINT8 key[8]; 18 | int sync; 19 | int ch; 20 | }; 21 | 22 | typedef struct musicgen_t MUSICGEN; 23 | 24 | #ifdef __cplusplus 25 | extern "C" 26 | { 27 | #endif 28 | 29 | extern MUSICGEN g_musicgen; 30 | 31 | void musicgenint(NEVENTITEM item); 32 | UINT board14_pitcount(void); 33 | 34 | void board14_allkeymake(void); 35 | 36 | void board14_reset(const NP2CFG *pConfig, BOOL bEnable); 37 | void board14_bind(void); 38 | 39 | #ifdef __cplusplus 40 | } 41 | #endif 42 | -------------------------------------------------------------------------------- /win9x/resources/np2.mnf: -------------------------------------------------------------------------------- 1 | 2 | 3 | 9 | Neko Project II 10 | 11 | 12 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /win9x/resources/np21.mnf: -------------------------------------------------------------------------------- 1 | 2 | 3 | 9 | Neko Project 21 10 | 11 | 12 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /common/resize.h: -------------------------------------------------------------------------------- 1 | 2 | #define RESIZE_AREAAVG 3 | #define RESIZE_FASTCOPY 4 | 5 | enum { 6 | RSZFN_8BPP = 0, 7 | RSZFN_16BPP, 8 | RSZFN_24BPP, 9 | RSZFN_16BY24, 10 | RSZFN_24BY16, 11 | RSZFNMAX 12 | }; 13 | 14 | struct _rszhdl; 15 | typedef struct _rszhdl _RSZHDL; 16 | typedef struct _rszhdl *RSZHDL; 17 | 18 | typedef void (*RSZFN)(RSZHDL hdl, UINT type, UINT8 *dst, int dalign, 19 | const UINT8 *src, int salign); 20 | 21 | struct _rszhdl { 22 | RSZFN func; 23 | int width; 24 | int height; 25 | }; 26 | 27 | 28 | #ifdef __cplusplus 29 | extern "C" { 30 | #endif 31 | 32 | UINT resize_gettype(int dbpp, int sbpp); 33 | RSZHDL resize(int xdst, int ydst, int xsrc, int ysrc); 34 | 35 | #ifdef __cplusplus 36 | } 37 | #endif 38 | 39 | -------------------------------------------------------------------------------- /win9x/resources/np2x64.mnf: -------------------------------------------------------------------------------- 1 | 2 | 3 | 9 | Neko Project II x64 10 | 11 | 12 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /win9x/resources/np21x64.mnf: -------------------------------------------------------------------------------- 1 | 2 | 3 | 9 | Neko Project 21 x64 10 | 11 | 12 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /io/nmiio.c: -------------------------------------------------------------------------------- 1 | #include "compiler.h" 2 | #include "pccore.h" 3 | #include "iocore.h" 4 | 5 | 6 | // ---- I/O 7 | 8 | static void IOOUTCALL nmiio_o50(UINT port, REG8 dat) { 9 | 10 | nmiio.enable = 0; 11 | (void)port; 12 | (void)dat; 13 | } 14 | 15 | static void IOOUTCALL nmiio_o52(UINT port, REG8 dat) { 16 | 17 | nmiio.enable = 1; 18 | (void)port; 19 | (void)dat; 20 | } 21 | 22 | 23 | // ---- I/F 24 | 25 | static const IOOUT nmiioo50[2] = { 26 | nmiio_o50, nmiio_o52}; 27 | 28 | void nmiio_reset(const NP2CFG *pConfig) { 29 | 30 | ZeroMemory(&nmiio, sizeof(nmiio)); 31 | 32 | (void)pConfig; 33 | } 34 | 35 | void nmiio_bind(void) { 36 | 37 | iocore_attachsysoutex(0x0050, 0x0cf1, nmiioo50, 2); 38 | // iocore_attachinp(0x98f0, nmiio_i98f0); 39 | } 40 | 41 | -------------------------------------------------------------------------------- /romimage/BIOS/VECT02.X86: -------------------------------------------------------------------------------- 1 | 2 | perrbase db 'PARITY ERROR - BASE MEMORY', 0 3 | perrext db 'PARITY ERROR - EXTENDED MEMORY', 0 4 | 5 | vect02: push ax 6 | in al, 0x42 7 | test al, 0x06 8 | jne short .hlt 9 | pop ax 10 | iret 11 | .hlt: mov si, perrbase 12 | test al, 0x04 13 | jne short .disp 14 | mov si, perrext 15 | .disp: mov ax, 0xa000 16 | mov es, ax 17 | xor di, di 18 | cld 19 | in al, 0x31 20 | and ax, byte 0x04 21 | shr ax, 1 22 | inc ax 23 | mov dx, ax 24 | 25 | .loop: db FIXCS 26 | lodsb 27 | test al, -1 28 | je short .looped 29 | mov byte [es:di + 0x2000], 0x43 30 | stosb 31 | add di, dx 32 | jmp short .loop 33 | .looped: cli 34 | hlt 35 | 36 | -------------------------------------------------------------------------------- /win9x/mousemng.h: -------------------------------------------------------------------------------- 1 | 2 | enum { 3 | uPD8255A_LEFTBIT = 0x80, 4 | uPD8255A_RIGHTBIT = 0x20 5 | }; 6 | 7 | 8 | #ifdef __cplusplus 9 | extern "C" { 10 | #endif 11 | 12 | UINT8 mousemng_getstat(SINT16 *x, SINT16 *y, int clear); 13 | 14 | #ifdef __cplusplus 15 | } 16 | #endif 17 | 18 | 19 | // ---- for windows 20 | 21 | enum { 22 | MOUSEMNG_LEFTDOWN = 0, 23 | MOUSEMNG_LEFTUP, 24 | MOUSEMNG_RIGHTDOWN, 25 | MOUSEMNG_RIGHTUP 26 | }; 27 | 28 | enum { 29 | MOUSEPROC_SYSTEM = 0, 30 | MOUSEPROC_WINUI, 31 | MOUSEPROC_BG 32 | }; 33 | 34 | 35 | void mousemng_initialize(void); 36 | void mousemng_sync(void); 37 | BOOL mousemng_buttonevent(UINT event); 38 | void mousemng_enable(UINT proc); 39 | void mousemng_disable(UINT proc); 40 | void mousemng_toggle(UINT proc); 41 | 42 | -------------------------------------------------------------------------------- /fdd/fdd_mtr.h: -------------------------------------------------------------------------------- 1 | 2 | typedef struct { 3 | int busy; 4 | UINT8 head[4]; 5 | UINT nextevent; 6 | UINT8 curevent; 7 | } _FDDMTR, *FDDMTR; 8 | 9 | 10 | #ifdef __cplusplus 11 | extern "C" { 12 | #endif 13 | 14 | extern _FDDMTR fddmtr; 15 | 16 | void fdbiosout(NEVENTITEM item); 17 | 18 | void fddmtr_initialize(void); 19 | void fddmtr_callback(UINT time); 20 | void fddmtr_seek(REG8 drv, REG8 c, UINT size); 21 | void fddmtr_reset(void); 22 | 23 | 24 | #if defined(SUPPORT_SWSEEKSND) 25 | void fddmtrsnd_initialize(UINT rate); 26 | void fddmtrsnd_bind(void); 27 | void fddmtrsnd_deinitialize(void); 28 | #else 29 | #define fddmtrsnd_initialize(r) 30 | #define fddmtrsnd_bind() 31 | #define fddmtrsnd_deinitialize() 32 | #endif 33 | 34 | #ifdef __cplusplus 35 | } 36 | #endif 37 | 38 | -------------------------------------------------------------------------------- /common/lstarray.h: -------------------------------------------------------------------------------- 1 | 2 | typedef struct _la { 3 | UINT maxitems; 4 | size_t listsize; 5 | UINT items; 6 | struct _la *laNext; 7 | } _LISTARRAY, *LISTARRAY; 8 | 9 | 10 | #ifdef __cplusplus 11 | extern "C" { 12 | #endif 13 | 14 | LISTARRAY listarray_new(size_t listsize, UINT maxitems); 15 | void listarray_clr(LISTARRAY laHandle); 16 | void listarray_destroy(LISTARRAY laHandle); 17 | 18 | UINT listarray_getitems(LISTARRAY laHandle); 19 | void *listarray_append(LISTARRAY laHandle, const void *vpItem); 20 | void *listarray_getitem(LISTARRAY laHandle, UINT num); 21 | UINT listarray_getpos(LISTARRAY laHandle, void *vpItem); 22 | void *listarray_enum(LISTARRAY laHandle, 23 | BOOL (*cbProc)(void *vpItem, void *vpArg), void *vpArg); 24 | 25 | #ifdef __cplusplus 26 | } 27 | #endif 28 | 29 | -------------------------------------------------------------------------------- /android-project/ant.properties: -------------------------------------------------------------------------------- 1 | # This file is used to override default values used by the Ant build system. 2 | # 3 | # This file must be checked into Version Control Systems, as it is 4 | # integral to the build system of your project. 5 | 6 | # This file is only used by the Ant script. 7 | 8 | # You can use this to override default values such as 9 | # 'source.dir' for the location of your java source folder and 10 | # 'out.dir' for the location of your output folder. 11 | 12 | # You can also use it define how the release builds are signed by declaring 13 | # the following properties: 14 | # 'key.store' for the location of your keystore and 15 | # 'key.alias' for the name of the key to use. 16 | # The password will be asked during the build when you use the 'release' target. 17 | 18 | -------------------------------------------------------------------------------- /android-project/build.properties: -------------------------------------------------------------------------------- 1 | # This file is used to override default values used by the Ant build system. 2 | # 3 | # This file must be checked in Version Control Systems, as it is 4 | # integral to the build system of your project. 5 | 6 | # This file is only used by the Ant script. 7 | 8 | # You can use this to override default values such as 9 | # 'source.dir' for the location of your java source folder and 10 | # 'out.dir' for the location of your output folder. 11 | 12 | # You can also use it define how the release builds are signed by declaring 13 | # the following properties: 14 | # 'key.store' for the location of your keystore and 15 | # 'key.alias' for the name of the key to use. 16 | # The password will be asked during the build when you use the 'release' target. 17 | 18 | -------------------------------------------------------------------------------- /win9x/fontmng.h: -------------------------------------------------------------------------------- 1 | 2 | enum { 3 | FDAT_BOLD = 0x01, 4 | FDAT_PROPORTIONAL = 0x02, 5 | FDAT_ALIAS = 0x04, 6 | FDAT_ANSI = 0x08, 7 | FDAT_SHIFTJIS = 0x10 8 | }; 9 | 10 | enum { 11 | FDAT_DEPTH = 64, 12 | FDAT_DEPTHBIT = 6 13 | }; 14 | 15 | typedef struct { 16 | int width; 17 | int height; 18 | int pitch; 19 | } _FNTDAT, *FNTDAT; 20 | 21 | #ifdef __cplusplus 22 | extern "C" { 23 | #endif 24 | 25 | void *fontmng_create(int size, UINT type, const OEMCHAR *fontface); 26 | void fontmng_destroy(void *hdl); 27 | 28 | BRESULT fontmng_getsize(void *hdl, const OEMCHAR *string, POINT_T *pt); 29 | BRESULT fontmng_getdrawsize(void *hdl, const OEMCHAR *string, POINT_T *pt); 30 | FNTDAT fontmng_get(void *hdl, const OEMCHAR *string); 31 | 32 | #ifdef __cplusplus 33 | } 34 | #endif 35 | 36 | --------------------------------------------------------------------------------