Path: chuka.playstation.co.uk!scea!peter_alau@playstation.sony.com From: Elliott Lee Newsgroups: scea.yaroze.beginners Subject: Re: 14 yr old Net Yaroze Member! Date: Mon, 14 Sep 1998 12:27:42 -0700 Organization: Bwahaha Lines: 94 Message-ID: <35FD6E2E.2439D8F9@shell.jps.net> References: <35F4D8C6.5117@earthlink.net> Reply-To: tenchi@shell.jps.net NNTP-Posting-Host: dhcp-m-62-237.cisco.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.03 [en] (Win95; U) Welcome to the member ranks, Chris. :) Chris Ramirez wrote: [...] > proud coder!! :) hhe although i am still learning C it is pretty > difficlult, I do have one question though, what do I write in C code in Don't make the mistake that several other people have: make sure you spend time to learn the basic C fundamentals. Doesn't matter how you do it but get a solid foundation. You will definitely need to know: - function parameter passing - arrays - pointers - structures and type definitions The Yaroze manuals (IMO) are not laid out for easy reading. Your best friend there will be the index unless you've read the Reference Guide from cover to cover. There's also small errors, I think. If you work at it a lot in the afternoons/evenings (maybe a couple of hours or so), you should be able to get the fundamentals done in a few weeks while still playing with the Yaroze. > rder to add my own TIM, Midi files etc.. to my program? I don't To add a TIM file, Midi file, "WAD" file (there's a compression library out there), you need to add in lines to your SIOCONS batch file and then in your C program you need to load the stuff to sound RAM or video RAM. Download some of the game demos (i.e. the GDUK ones) and check out their "auto" or "auto.sio" files. That's how you tell SIOCONS to transfer the data off your PC's hard drive to the NY main RAM. Then your C program (when it's running) transfers the stuff from NY main RAM to the respective other RAM buffers. If you've tinkered with PC programming, you could poke video ram with the same pointer you use to poke the interrupts table---not so here. Use the functions like LoadImage or SsVabTransfer to send the data to different RAM. Spend time to look at the sample stuff that should have come on your PC CD set. > understand what the addresses are? and how do I put an addres on one of > my files? example of addres: The addresses are listed in hexadecimal notation. In C, a hexadecimal number is written: 0xNUMBER where NUMBER is the hex digits. So the following are equivalent: 256 = 0x100 257 = 0x101 266 = 0x10A 267 = 0x10B For the Yaroze memory space, everything is mapped. You're going to be dealing with the approx. 1.4 MB stuck between 0x8009000 and 0x801effff. So in the "auto" file you should see things being loaded into addresses that fit within that range. And, no, "800x111XX" does not look right. > 8000x 111XX Hey its not an addres but it looks loke it right? I > think:) hhehe well goodbye!!!! thanks for reading this ohh and If anyone > of you have ICQ please add me to your list my ICQ # is 12156523 and my > nick name is MAD DOG well good bye guess I will go play some Parasite > eve! > Chris Ramirez Biggest advice at the moment: download some good games with source code. (Ones that aren't too big because they'll take less time to download.) Compile them and download them. Tweak parts of the code, recompile, download, and run. See what changed. See how playing with attributes affects things. Rinse, repeat. :P You'll get a good feel for how minor effects will change the look/feel of stuff. Definitely don't try to go out and write your own video loop the first time. It's tricky and you're better off using the bouncing ball demo as a base and tweaking that. When you've gotten a little more experienced you'll find interesting ways of doing stuff. Anyways, I hope this gets you started. Post a message to the appropriate groups (e.g. don't ask sound questions on a 3D group) or write us e-mail. Welcome aboard... ^_^ -- Mata ne, ... ... - e! ::' tenchi@shell.jps.net ':: (Protocol) :: ACiD -/- ACS -/- pHluid -/- Yaroze -/- Nemesis :: (Tenchikun) ::. http://www.jps.net/tenchi .:: ''' '''