Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
sprites like MJ's Trabajo Basura (not unregr. Fourspriter)
#8
boriel Wrote:
na_th_an Wrote:splib2 is not so integrated into z88dk when compared to SP1, so porting it to a ZX Basic library would be posible, albeit painstakingly laborious, as the assembly syntaxes are not compatible and lots of things should be made by hand.
I would like to have a look at these asm code. Where can I get the src code of sp1?

Again, not SP1, but splib2. SP1 is very heavily integrated into z88dk so the amount of things you have to port is huge. splib2 was conceived as a standalone library you could use from assembly or C - it just happens to include an "interface" z88dk-compatible, but could just be called using assembly "call"s. I'm quite sure that if you took the assembly files, modified the syntax, and embedded them in BASIC Subs and Functions, it would work.

You can find splib2 here: <!-- m --><a class="postlink" href="http://www.timexsinclair.org/alvin/spritepack/programmer-intro.htm">http://www.timexsinclair.org/alvin/spri ... -intro.htm</a><!-- m --> The documentation is for the programmer who's going to use it, but if you need asistance you can always ask Alvin, he's quite supportive.

Of course SP1 is faster and more feature rich, but splib2's memory footprint is much smaller. Besides, most of our games use it, it can't be that bad Big Grin Anyways, the source codes of SP1 come with the z88dk source distribution, as SP1 is part of z88dk.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)