• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

MakefileH A D03-May-202258 74

READMEH A D03-May-20221.6 KiB5740

build.incH A D03-May-20221.7 KiB9374

main.cppH A D03-May-20223.5 KiB157121

pokey0.cppH A D03-May-20223.3 KiB135117

pokey1.cppH A D03-May-20222.4 KiB10695

pokeyNamespace.hH A D03-May-202219.2 KiB663589

sapCpu.cppH A D03-May-202241.4 KiB1,5821,556

sapEngine.cppH A D03-May-202213.7 KiB680611

sapGlobals.hH A D03-May-20222.1 KiB9069

sapLib.hH A D03-May-20221.2 KiB4915

sapPokey.cppH A D03-May-20221.1 KiB6660

README

1Pengiun Sap v0.1
2----------------
3
4This is just something that I hacked together in a day so taht I could listen
5to SAPs without that piece of shit known as wine.  So, here it is ;)
6
7It's pretty bare bones right now... it'll be improved soon.  This is just
8an hour of coding in order to play things, not a work of art :)
9
10Credits
11-------
12
13The actual sap play is by SoTe/Slight.  I didn't write that.  I only wrote the
14little piece of glue that makes linux use it :P.
15
16Contact
17-------
18
19Email: jaymz@dspaudio.com.
20AIM: A Life in Hell
21MSN: a_life_in_hell@hotmail.com
22Yahoo: alifeinhell
23ICQ: 6784369
24
25Usage
26-----
27
28./sap [-m] [-8] [-v] [-oN] filename,.sap
29
30	-m  : Mono audio output (Default is stereo)
31	-8  : 8 bit audio output (Default is 16 bit)
32	-v  : Verbose output
33	-oN : Play song number N (so, -o2 for the second song in the sap)
34
35How to build
36------------
37
38The thing to note, is the default makefile is set up to optimize for a p2/p3,
39because that is the system I have.  You don't have my system, so your milage
40with the defaults me vary... particularly, I don't know how an athlon
41deals with the defaults
42
43If you have a pentium 2 or higher system, the default config is right for
44you - just type:
45
46make depend
47make
48
49and you're set.  For lower end systems, you need to modify build.inc first,
50and on line 15, change 'pentiumpro' to 'pentium' or something else.
51
52if you look at the top of the file (build.inc), you'll see "COMPILER=gcc" and
53"MODE=optimize".  change mode to "debug" for debugging, or "profile" for
54profiling.  COMPILER can be set to pgi if you have the portland groups pgcc
55compiler installed.  Most people don't... you'll know if you do ;)
56
57