MaxCoderz

for your 1 bit pleasure!

All times are UTC




Post new topic Reply to topic  [ 434 posts ]  Go to page 1, 2, 3, 4, 5 ... 29  Next
Author Message
PostPosted: Mon 11 Apr, 2005 9:22 am 
Offline
Maxcoderz Staff
User avatar

Joined: Thu 16 Dec, 2004 10:06 pm
Posts: 3064
Location: Croydon, England
Not as some impossible-to-finish half-project, however. Think of it as "Z80 Workshop, but it works properly" :)
I've been working on it for a couple of days, and so it's still not quite complete, but the basics are there - file loading/saving and compiling. The underlying structure is much tighter than in Z80 Workshop - half due to .NET, half due to me doing things more sensibly.

Image

Now, one "feature" is going to be a snippets bin - a box (next to the Z80 Instructions tab) with small snippets of code. For example:

Code:
;DESCRIPTION:This routine does just the same job as LDIR, but is expanded so you can (for example) perform the same operation on every byte as it is copied across.
;AUTHOR:Patai Gergely
ldirRepeat:
   ld a,(hl)   ; Getting the current byte
   inc hl
   ld (de),a   ; Storing it
   inc de
   dec bc      ; Handling the loop
   ld a,b
   or c
   jr nz,ldirRepeat
   ret



Code:
;DESCRIPTION:This routine inverts the image in the graph buffer.
;AUTHOR:Ben Ryves
invertScreen:
   ld hl,plotSScreen
   ld bc,768
invertLoop:
   ld a,(hl)
   cpl
   ld (hl),a
   inc hl
   dec bc
   ld a,b
   or c
   jr nz,invertLoop
   ret


Code:
;DESCRIPTION:This routine decompresses BC bytes of data (RLE compressed, runs marked with $91) located at HL into DE. Note that BC is the size of the original uncompressed data.
;AUTHOR:David Phillips
RLE:
    ld a,(hl)
    cp $91
    jr z,DispRLERun
    ldi
DispRLEC:
    ret po
    jr RLE
DispRLERun:
    inc hl
    inc hl
    ld a,(hl)
DispRLERunL:
    dec hl
    dec a
    ldi
    jr nz,DispRLERunL
    inc hl
    jr DispRLEC


(Thanks CoBB - I also, er, "borrowed" your notes on the Z80 instructions for the help page on the right
:roll: )

I'd also like a full list of ALL the TI-83 Plus ROM calls, but getting a decent list in a sensible format might be tricky (and I'm not going to populate a database table by hand).

Comments? Questions? Requests?


Last edited by benryves on Mon 20 Aug, 2007 9:44 am, edited 15 times in total.

Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon 11 Apr, 2005 10:22 am 
Offline
Maxcoderz Staff
User avatar

Joined: Wed 15 Dec, 2004 7:26 pm
Posts: 2735
Location: The Hague, Netherlands
w00t looks great :worship:

Are you gonna support external 'help' files for calls to a library. Like importing the GPP library from duck with a helpfile, so you get a helpbox on every call?

And, of course, you should include PindurTI support 8)

_________________
Image


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon 11 Apr, 2005 10:34 am 
Offline
Maxcoderz Staff
User avatar

Joined: Thu 16 Dec, 2004 10:06 pm
Posts: 3064
Location: Croydon, England
kv83 wrote:
Are you gonna support external 'help' files for calls to a library. Like importing the GPP library from duck with a helpfile, so you get a helpbox on every call?


Whoops, yes, it will (I forgot to mention it).
The way this works is that any external addons are just slotted into a folder and the program detects them itself. For example, any .bat file in the "compile" folder appears as an option in the build menu, and when run the program runs the batch file with %1 = program name (no extension), %2 = program name (extension), %3 = compile base folder. The help files for each library will just be simple CSV files. These will be extra tab pages on the "Z80 Instructions" bit on the right.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon 11 Apr, 2005 10:58 am 
Offline
Calc King
User avatar

Joined: Sun 23 Jan, 2005 12:37 am
Posts: 1727
Location: Netherlands
Looking good! I'd like to see syntax highlighting though ;) I've made UltraEdit syntax highlighting definitions (from some list I got somewhere, don't remember where unfortunately, so I can't give credit), you can have it if you want 'em. And maybe it would be a nice idea to link the code snippet box to the online codebase kv and I have been working on a bit..?

@KV: Wtf is PindurTI?

_________________
http://clap.timendus.com/ - The Calculator Link Alternative Protocol
http://api.timendus.com/ - Make your life easier, leave the coding to the API
http://vera.timendus.com/ - The calc lover's OS


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon 11 Apr, 2005 11:09 am 
Offline
Maxcoderz Staff
User avatar

Joined: Wed 15 Dec, 2004 7:26 pm
Posts: 2735
Location: The Hague, Netherlands
Timendus wrote:
@KV: Wtf is PindurTI?
Whaaaaat?! http://joepnet.com/hosted/maxcoderz/php ... .php?t=412

_________________
Image


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon 11 Apr, 2005 11:18 am 
Offline
Calc King
User avatar

Joined: Sun 26 Dec, 2004 5:27 am
Posts: 2457
Location: SXIOPO = Infinite lives for both players
kv83 wrote:
Timendus wrote:
@KV: Wtf is PindurTI?
Whaaaaat?! http://joepnet.com/hosted/maxcoderz/php ... .php?t=412
How could he not know the future of emulation!!! :x
j/k

_________________
Image


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon 11 Apr, 2005 11:25 am 
Offline
Maxcoderz Staff
User avatar

Joined: Thu 16 Dec, 2004 10:06 pm
Posts: 3064
Location: Croydon, England
Timendus wrote:
Looking good! I'd like to see syntax highlighting though


I haven't bothered on the grounds that with ASM it's pretty clear what's what and it's virtually impossible with the standard VB controls (even the shiny .NET ones).

kv: What do you mean about integration with PindurTI? If you drop the EXE or a shortcut into the "tools" folder it'll appear in the tools menu of the editor - and if you mean automatically start it up and send the file to it... you'll have to see. :wink:


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon 11 Apr, 2005 12:05 pm 
Offline
Maxcoderz Staff
User avatar

Joined: Thu 16 Dec, 2004 10:06 pm
Posts: 4094
Location: I cant seem to get out of this cryogenic chamber!
Now a hotkey to compile and launch the emu (if there are no errors) would be handy :).

_________________
"My world is Black & White. But if I blink fast enough, I see it in Grayscale."
Image
Image


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon 11 Apr, 2005 1:14 pm 
Offline
Calc King
User avatar

Joined: Sun 23 Jan, 2005 12:37 am
Posts: 1727
Location: Netherlands
Ah, okay, so that's PindurTI ;)

benryves wrote:
Timendus wrote:
Looking good! I'd like to see syntax highlighting though


I haven't bothered on the grounds that with ASM it's pretty clear what's what and it's virtually impossible with the standard VB controls (even the shiny .NET ones).


Snif snif... :cry: Me wants syntax highlighting :(

_________________
http://clap.timendus.com/ - The Calculator Link Alternative Protocol
http://api.timendus.com/ - Make your life easier, leave the coding to the API
http://vera.timendus.com/ - The calc lover's OS


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon 11 Apr, 2005 2:03 pm 
Offline
Extreme Poster

Joined: Fri 17 Dec, 2004 11:09 pm
Posts: 479
Timendus wrote:
Snif snif... :cry: Me wants syntax highlighting :(

Me too :( but with such a fancy GUI do you really need it? (kms375 hears a "yes" in the distance :p)

_________________
Image

Pongwars shall live!

blog is down atm. :-(


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon 11 Apr, 2005 2:05 pm 
Offline
Maxcoderz Staff

Joined: Sat 18 Dec, 2004 3:51 am
Posts: 1477
Location: Toledo, Ohio, USA
yay!

_________________
Currently coming up with a new signature idea... since my forum avatar changer was killed by an upgrade...


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon 11 Apr, 2005 2:29 pm 
Offline
Maxcoderz Staff
User avatar

Joined: Thu 16 Dec, 2004 10:06 pm
Posts: 3064
Location: Croydon, England
One thing I must warn you is this: I don't have very good access to the internet at the moment, so updates will be slow. :(
Unfortunately, I think source highlighting is right out - it's pretty much impossible with the standard controls (I'd have to start using a rich text box, which adds all sorts of horrible complications). Also, I'll make sure that you guys get a play with it, that we get some good snippets/help files sorted out (I'd really appreciate CoBB's help with some of the Z80 instructions stuff - it's currently a botched copy of the HTML stuff, so some of them say things like "this instruction is just like the above instruction, but HL is decremented each time" - whilst this looks great and much clearer than a full description in his HTML pages, it's a bit confusing when you can't see what the "above instruction" was!


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon 11 Apr, 2005 2:58 pm 
Offline
MCF Legend

Joined: Mon 20 Dec, 2004 8:45 am
Posts: 1601
Location: Budapest, Absurdistan
I'm thinking about rewriting the instruction descriptions anyway. Now that I implemented an almost complete Z80 emulator I know much more details.

_________________
The Independent Z80 Assembly Guide
Acelgoyobis
PindurTI


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon 11 Apr, 2005 3:42 pm 
Offline
Calc Guru
User avatar

Joined: Mon 03 Jan, 2005 7:54 pm
Posts: 835
Location: out there. seriosly.
*hears a roar of :worship: and a roar of "We want syntax coloring* and so I am joining in on both of them

_________________
Life is getting better.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon 11 Apr, 2005 3:58 pm 
Offline
Calc King
User avatar

Joined: Sun 26 Dec, 2004 5:27 am
Posts: 2457
Location: SXIOPO = Infinite lives for both players
Will there be app support? Multipage? Support for more than 5 pages would be great, say around 90 or so. :roll:

_________________
Image


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 434 posts ]  Go to page 1, 2, 3, 4, 5 ... 29  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB ® Forum Software © phpBB Group | DVGFX2 by: Matt