Jump to content

tarkb

Members
  • Posts

    13
  • Joined

  • Last visited

Contact / Social Media

Profile Information

  • Gender
    Male
  • Interests
    DC, PSX, Jaguar (soon!) homebrew

Recent Profile Visitors

4,507 profile views

tarkb's Achievements

Space Invader

Space Invader (2/9)

1

Reputation

  1. If you mean the source for the Remover's library, it's available on their website (there). If you need something else, just ask Seb again -- I think he didn't see your message, as he usually replies I meant source for rmvjcp -- no biggie I also told him it is cool another jaguar homebrewer likes iron maiden Maybe he thought I was sucking up to try and persuade him
  2. Hey, I'm nobody, and I'm using it! I'm nowhere near writing a game, just testing my "ever-growing library of misc. c code" on another target at the moment. Hope this isn't reviving a dead thread, but seeing as how it is the most current one... Maybe this will help someone else? (or me when my hard drive crashes, and I come back years later trying to get this stuff running again) I'm using: (Self-built) binutils 2.16.1 and GCC 4.2.0 targetting m68k-aout jlibc & rmvlib (built with the above, for rmvlib I needed to use a linux madmac instead of smac though) building jlibc will give you a crt0.o I believe jlibc has malloc() and free(), IIRC qsort() is the only thing I noticed missing (I don't use much stdlib stuff though). rmvlib has skunkboard-compatible printf() and getchar() and putchar(). That printf() seems broken for printing signed char/int/long/short (maybe just PEBKAC, but my code runs on other targets fine...). You will want a rmvjcp binary if you are using rmvlib's printf() -- there are linux and windows binaries @ www.hillsoftware.com IIRC. ( standard skunkboard "jcp" doesn't work with rmvlib printf() ). Output is kinda slow, but it is still in development and Seb is nice enough to release his stuff, so I am not complaining I asked him for source (I don't run much linux or windows around here) but no response, but I am not going to bother him Output is even slower when ran under e.g. virtualbox I needed to link against libgcc.a too to get: _divsi3 _modsi3 _mulsi3 _udivsi3 _umodsi3 No idea if my gcc and/or the jaguar does hardware or software floating point (haven't tried). Had no luck getting sln 1.0.0 (or older) to link stuff -- I use a linux binary of aln instead for now. It has a lovely limitation of "File name too long: xyz (sorry!)" (at least it said it was sorry!) rather than limit myself to whatever it thinks is short enough, I use binutils "ar" to add all my compiled objects to an archive/library (.a) with a short name, then use aln to link that against: crt0.o xyz.a rmvlib jlibc and libgcc (in that order). Hope this helps someone else! I also like using http://www.cs.utah.edu/flux/knit/cmi.html CMI to reduce the size of binaries too, just be careful you pass it the right args to not "optimize out" e.g. _start() or __main() startup code that you might not call explicitly from your code, but that is invoked "behind the scenes" (e.g. by a library you are linking against, or the compiler is). I might try vbcc and sln again, I think last time I couldn't get sln to link my stuff -- maybe vbcc and aln would work for me though... Someday I will make more use of rmvlib...the mod player is tempting...
  3. Know anything about writing machine descriptors? One for the RISC's would be rather sweet. It would be nice to have it set up to run out in main or in the local depending on what you need using a directive or something. However, descriptors are a science in their own right. I only wish I understood it better. Hi Gorf! Hope you like books! http://www.amazon.com/gp/product/1558603204?ie=UTF8&tag=atariage&linkCode=xm2&camp=1789&creativeASIN=1558603204 Chapter 6 Producing Code Generators Automatically http://www.amazon.com/gp/product/1558603204?ie=UTF8&tag=atariage&linkCode=xm2&camp=1789&creativeASIN=1558603204 Chapter 15 Code Generation and Local Code Optimization http://www.amazon.com/gp/product/0321486811?ie=UTF8&tag=atariage&linkCode=xm2&camp=1789&creativeASIN=0321486811 Chapter 8 Code Generation http://www.amazon.com/gp/product/155860698X?ie=UTF8&tag=atariage&linkCode=xm2&camp=1789&creativeASIN=155860698X 11.1.1 Building Retargetable Compilers disclaimer: I purchased those recently, it will be years years years before I read them, let alone grok any of their contents. I will post back here in 2026. I guess I have no excuse now, but neither do you, so we are even
  4. Thank you belboz! Did you ever know that you're my hero?
  5. I'm in Portland too -- what part of Oregon are you in?
  6. You are another reason why we need to get a nice new C compiler setup for the Jag's big chips, instead of the 68k. How knowledgable in C are you? I do web programming and sysadmin stuff for work during the day (and sometimes night), so C is my escape from that. I have been learning C off and on for about a year, so I have a long way to go. I have some arbitrary-precision add/subtract/multiply/divide integer stuff that operates on byte arrays. (divide code is not fun). I am reinventing wheels right now I guess. any threads/sockets/graphics/sound/window systems and all that jazz I have not interfaced with (yet). Homebrew console stuff (dreamcast,psx,saturn,jaguar,n64, last 3 are WIP for me at the moment) for me right now is just another architecture/OS to test my code on for portability. video games is what led me to computers a long time ago, so someday I hope to get into something relevant to games programming. Portable && <speed necessary for games> are probably !compatible I realize. For now, I just am looking to get a jaguar toolchain, and a printf() putchar() and getchar() that work via a skunkboard. (printf() I think I can write my own soon though) (a working malloc() would be nice too, I think the removers library has one?). so I can run my "unit tests" and see what breaks/works. some example code (automagically copyright me I guess is how U.S. law works, but do what you want, just don't sue me). http://pastebin.ca/S51mRsV2 (password is "dontsueme")
  7. Hi belboz! Was wondering if there was any news on a linux version or a source release for vasm/vbcc/vlink targetting jaguar? Thanks very much for any info! If I can do anything to help (incl. stop bothering you), let me know too...
  8. Know anything about writing machine descriptors? One for the RISC's would be rather sweet. It would be nice to have it set up to run out in main or in the local depending on what you need using a directive or something. However, descriptors are a science in their own right. I only wish I understood it better. Oh no, I am just getting started in C, anything lower-level than that is beyond me right now. a quick google turned up: http://gcc.gnu.org/onlinedocs/gccint/Machine-Desc.html but seeing as I don't know any assembly I am too petrified to delve any further. I am interested in these tools because sln dies on me with "UNRESOLVED SYMBOLS _BSS_E (crt0.o)" (using crt0.o from jlibc fwiw), which others have reported, so it is a known issue I guess. Has anyone coerced binutils ld for m68k-(aout|coff|elf) to link a jaguar app? I imagine you'd need a linker script to layout the sections, and maybe some more trickery. All the examples I've ever seen (makefiles from the kind folks who've released source to homebrew stuff) use aln for linking. I can run aln in dosbox or similar I imagine, or track down a linux version I think I've heard mentioned, but something current (and not in the grey legality-wise) would be better in the long term. I can't imagine legal action taken against me for using aln, but it'd be one less worry. Using vlink / vbcc / vasm was my hope to workaround sln failing. And, the fact that these (and smac) all appear to be actively maintained is a big plus compared to the "official" stuff. Anyways, I can't blame you for holding me to me words, but I was thinking more along the lines of "write a tutorial for compiling vlink/vbcc/vasm targetting jaguar, and howto compile a hello world-ish program to verify it works". and helping others (I believe there's a few more unixy people out here) get setup so the people working on the dev tools don't have to answer the same questions over and over (presumably, why belboz released a binary with an installer). I will say, homebrew jaguar appears much healthier than, say, psx homebrew stuff. Sure there's dead links from 1995, but forums like these are still getting new posts. I'd love to help however I can, but I'm still very much a beginner to all this. I tried to "tip" tursi when I bought a skunkboard, but he refused, so I am in a generous mood I guess.
  9. Is it possible to get vbcc and vlink source codes somewhere? First: belboz, thank you for providing this. Second: source and/or a linux version (statically linked binaries if possible!) would be much appreciated. I stumbled upon http://statifier.sourceforge.net/ recently, but it didn't work on either of the 2 binaries I tried. (smac & sln linux versions, before I found the source release) . Not sure if something like that is useful for anyone else or not is why I mention it. I think the idea behind it is great, since I tend to accumulate binaries that I either don't have source for or that are so ancient it is a pain to recompile/patch/etc. http://sun.hasenbraten.de/vasm/ http://sun.hasenbraten.de/vasm/daily/vasm.tar.gz http://sun.hasenbraten.de/vlink/ http://sun.hasenbraten.de/vlink/daily/vlink.tar.gz http://www.compilers.de/vbcc.html http://www.ibaug.de/vbcc/vbcc.tar.gz Has sources, but as of 2-3 days ago not all those tgzs are up to date at least insofar as the version numbers returned by the windows binaries belboz has released. >> Also if everyone could not host this anywhere else. I know I am going to be doing rev's on this as people find >> problems. So I want to keep it controlled while I refine it. If you want to link to this on another site, just post the link >> above so they go to my download page and can always get the correct download. I'm guessing means this is still WIP, and maybe a patch or three against the "official" vlink / vbcc / vasm sources. http://sun.hasenbraten.de/ implies that there's a cvs server for some of these, but I couldn't find a link, so it does not appear to be public access. Lastly, I do not want to take w/out giving anything back, so if there is anything I can do to help please let me know.
  10. Hope I am not way off base here (since I know nothing about Sega nor Saturn related things) but I think when I found my psx pro action replay & comm card I remember reading the comm card was also compatible with n64, sega saturn, etc. it is an isa card (with a jumper or two, no plug n' p[lr]ay!) and also distinctively remember reading that it is NOT compatible with an LPT port, and not to plug your cable into your LPT port. I only got my psx comm card w/in the past year or two so you should still be able to find one. Actually, you are in luck, there are also at least one usb solution: http://www.gamingenterprisesinc.com/ (I haven't used this, since his software only does saturn) Again, hope I am not way off base. Hope this helps!
×
×
  • Create New...