• entries
    222
  • comments
    608
  • views
    588242

Sega Tween

Sign in to follow this  
benryves

1001 views

No updates for a while, I'm afraid - things have been pretty hectic.



I packaged up and released the Sega Tween demo I'd been working on. As you can see, I added an SMS and a 3D mode - this works with the SMS 3D glasses. The extra 3D is quite cheap to calculate - shift the rotated X coordinates one way for one eye, then the other way for the other eye. After projection to the screen they need to be shifted back a little way to re-centre, but it works quite well.



However, I had neglected the fact that the SMS1 (which has the card slot, and hence the model that supports the 3D glasses) had a bug in the VDP and as such only supports four zoomed sprites per scanline. I added this glitch to the emulator;


Click for animated GIF





In other news, I've done a small amount of work on Brass. It's quite embarrassing, really, how slow the old version is. Assembling this file:

Quote:
.rept 9000
ld a,1
.unsquish
ld a,2
.squish
ret
.loop


...produces this in old Brass:

Quote:
Brass Z80 Assembler 1.0.4.9 - Ben Ryves 2005-2006
-------------------------------------------------
Assembling...
Pass 1 complete. (2093ms).
Pass 2 complete. (22062ms).
Writing output file...
Errors: 0, Warnings: 0.
Done!


Nearly half a minute! New Brass does a much better job of syntax parsing and caching...

Quote:
Brass Assembler - Copyright (C) Bee Development 2005-2007
-------------------------------------------------------
ZiLOG Z80 - Copyright (C) Bee Development 2005-2006
TI Program Files - Copyright (C) Bee Development 2005-2006
Core Plugins - Copyright (C) Bee Development 2005-2006

Parsing source...
Building...
Writing output...
Time taken: 484.38ms.
Done!

Down to just under half a second. That's almost a 50x speed increase!
Sign in to follow this  


0 Comments


Recommended Comments

There are no comments to display.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now