Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - ACagliano

Pages: 1 ... 22 23 [24] 25 26 ... 62
346
TI Z80 / Re: Star Trek reloaded (bad pun on the 'ld' command)
« on: May 17, 2011, 02:46:00 pm »
This is a release of the Usage Guide for Star Trek. It also gives you a sneak peak at features. It still is not fully complete, though.

If you wish to have your real name removed, or to have your real name added, post so here.

347
TI Z80 / Re: Star Trek reloaded (bad pun on the 'ld' command)
« on: May 17, 2011, 01:35:14 pm »
Thank you. What name do you wish to receive credit by? Full name or user name, or both?

348
TI Z80 / Re: zStart - an app that runs on ram clears
« on: May 17, 2011, 08:28:51 am »
Hey, guys. I have reason to believe that zStart's 'Run on RAM clear' might beat PTT. Can anyone confirm (I use a patched OS)? Install zStart, then set CalcSys to a shortcut. Then activate PTT. RAM clear. zStart should reenable the hooks, and allow you to use the Shortcut to call CalcSys. From there, read/write a byte to the link port and your calc should unlock...

349
TI Z80 / Re: Star Trek reloaded (bad pun on the 'ld' command)
« on: May 16, 2011, 05:35:55 pm »
I tried redrawing the ship and got this. :|

Thanks BrownyTCat. Is it possible that you can do that picture in monochrome (all white or black). You will of course receive full credit.

Edit:
A version of my code is available on pastebin for debugging/optimization.

http://pastebin.com/R3KwMYPQ

**Remember, the code may be incomplete in segments, so if stuff is missing, don't sweat it.

350
TI Z80 / Re: Star Trek reloaded (bad pun on the 'ld' command)
« on: May 16, 2011, 01:37:26 pm »
UPDATE: With help from Kerm, I eliminated a fatal error in appvar creation. Networking progress continues, and here is a screenshot of the battle GUI.

351
TI Z80 / Re: zStart - an app that runs on ram clears
« on: May 16, 2011, 01:32:47 pm »
Nice update. However, my main problem persists. After the calc RAM clears once, with DCS7 set to run on RAM clear, pressing [enter] on the homescreen crashes. Will try to post screenie.

Edit: WabbitEmu is not allowing me to install RAM clear. And I don't know how to capture an animated screenshot from my calc.

352
TI Z80 / Re: Star Trek reloaded; COUNTDOWN TO BETA
« on: May 16, 2011, 09:19:14 am »
COUNTDOWN TO BETA

I hope to have a beta release out soon. It won't have exceptional graphics, but it will be functional...

353
TI Z80 / Re: zStart - an app that runs on ram clears
« on: May 15, 2011, 02:28:27 pm »
Ok. I don't have mathprint enabled, but I'll let you do your head scratching. lol.

Also, setting DSC7 to run on 'Turn On' does not work. And it overwrites the DCS7 onscript hook.

354
TI Z80 / Re: zStart - an app that runs on ram clears
« on: May 15, 2011, 01:59:23 pm »
Oh. Ok. Then I have a bug to report.

Install run on RAM clear. Press [ON] and [.] on DoorsCS7. Entering a simple math function on the homescreen crashes. Then only way to stop it from crashing is to uninstall zStart.

355
TI Z80 / Re: Star Trek reloaded (bad pun on the 'ld' command)
« on: May 15, 2011, 01:53:37 pm »
A great deal of progress on the data handling. I've decided that instead of trying to create the appvar on first run, the appvar gets tested for upon Quiting. If none is found, it is created before quitting. On startup of the game, the appvar is only handled if it exists, in which case the data is sent to RAM.

As for networking, I know that having attacks, joins, and quits sent alongside position updates can be taxing on CALCnet. Thus, I have decided to have the position update fire every THREE cycles of the main loop, not every ONE cycle. All other transmissions will fire immediately.

356
TI Z80 / Re: zStart - an app that runs on ram clears
« on: May 15, 2011, 01:04:21 pm »
Do you plan on putting an official readme out?  Or at least explain about the Run on RAM clear options (if you already put it somewhere, can you link me to it). What does "Old RAM Clear" do? What should it be set at?

And the 'Run app on RAM clear" is buggy, correct?

357
TI Z80 / Re: Star Trek reloaded (bad pun on the 'ld' command)
« on: May 14, 2011, 05:12:52 pm »
Remember not to double-post unless it's been six hours :)

Is that code the three-level grayscale routine? Remember that the buffer is plotSScreen and the back-buffer is appBackUpScreen, so just replace those with whatever you're using.

EDIT: And make sure you know how the code works. It's a bad idea to go about using ASM code without knowing exactly what it does, because it makes messing up that much easier.

Thanks Deep. Although, I think I'll use mono for v1.0. Look at what I got to work:

358
TI Z80 / Re: Star Trek reloaded (bad pun on the 'ld' command)
« on: May 14, 2011, 12:52:44 pm »
Ok, so I now have the code from Axe:

Code: [Select]
ld a,i
push af
di
ld a,$80
out ($10),a
ld (OP2),sp
ld hl,flags+asm_Flag2
rr (hl)
sbc a,a
xor %01010101
ld (hl),a
ld c,a
ld l,appbackupscreen&$ff-1
ld sp,plotSScreen-appbackupscreen
__DispGSNext:
ld a,l ;4
ld b,64 ;7
add a,$21-(appbackupscreen&$ff);7
out ($10),a ;11 Into loop: 59 T-states
inc l ;4
ld h,appbackupscreen>>8 ;7
ld de,appbackupscreen-plotSScreen+12;11
__DispGSLoop:
ld a,(hl) ;7 Loop: 61 T-states
rrc c ;8
and c ;4
add hl,sp ;11
or (hl) ;7
out ($11),a ;11
add hl,de ;11
djnz __DispGSLoop ;13/8 Next Loop: 60 T-states
ld a,l ;4
cp 12+(appbackupscreen&$ff);7
jr nz,__DispGSNext ;12
__DispGSDone:
ld sp,(OP2)
pop af
ret po
ei
ret

Now, how do I pass the location of the buffer data?

359
TI Z80 / Re: Star Trek reloaded (bad pun on the 'ld' command)
« on: May 14, 2011, 11:34:57 am »
Maybe it's code at some other section that's freezing up?

I'm trying something else. It's an optimization too. Previously, anytime you need to Arc/Unarch a variable, I use b_call(_Arc_Unarc) and a jump loop.  From now on, I will have it as a call, not a jump and it will use either b_call(ArchiveVar) or (UnarchiveVar).

360
TI Z80 / Re: Star Trek reloaded (bad pun on the 'ld' command)
« on: May 14, 2011, 11:25:09 am »
Uploaded screenie: When I run the part that freezes in game alone, it works fine, and creates the appvar....Why is it not working right in game?

See AppVar  STSave.

Pages: 1 ... 22 23 [24] 25 26 ... 62