Author Topic: MLC 68k: Progress  (Read 4016 times)

0 Members and 1 Guest are viewing this topic.

Offline tifreak

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2708
  • Rating: +82/-3
  • My Kung Fu IS strong...
    • View Profile
    • TI-Freakware
MLC 68k: Progress
« on: November 06, 2006, 05:17:00 am »
Our esteemed programmer bfr has been hard at work, slaving away over a hot computer to dish us out some progress on MLC 68k, and he has succeded to get the interpreter to start accepting some commands. Here are some qoutes:

"MLC's first command with an argument, that is at least moderately complicated has been added: STOP! No, it doesn't stop the program or something like I first thought when I was programming in MLC for the TI-86. It stands for STOre Picture. This command stores the current contents of the screen in a buffer that you get to name. w00t, so that means you can do something like this:

#STOP mybuffer

Note that the name can only be up tp 8 characters. This command also doesn't use a complex string parser or anything - it just uses the all of the characters up to a newline or whitespace character, and the maximum is 8. The maximum amount of pictures that one can have is 5, but I can increase that (or decrease that) if you all feel that more (or less) are needed. I'm probably going to increase that amount.

This can be compared to: StorePic 1 in TI-BASIC on the TI-83+, or StoPic mybuffer in TI-BASIC on 68K calculators. The MLC version is better though because it's faster, supports grayscale pictures, and the names don't have to be numbers (on 68K calculators, the names don't have to be numbers either, but...).
"

"I added RCLP, which is like RecallPic in TI-BASIC for the TI-83+ (I think it's RecallPic, isn't it?). RCLP didn't take much work because I basically copied the code from STOP and slightly modified it.

I'm going to try to get a screenshot up of a demo MLC program. It's going to use a command called AAAA which really isn't an MLC command, but it'll be there just for the demo. It just writes some zeros and stuff on the screen. When I finish the TEXT command though, it won't be needed.
"

There are also four other commands that the interpreter recognizes: CLRS (CLeaR Screen), PAUS (PAUSe), DRAW, and HALT. Here is an explanation of them:

"
CLRS. It clears the screen.

PAUS and DRAW. Commands may also begin with "#" (for compatibility with other versions of MLC) or "|" (for easy access on 68K calculators, but no compatibility. Maybe in the converter, I could make it convert "|" into "#"). PAUS obviously pauses the program, waiting for any key press, not just enter. DRAW updates the screen, because all drawing commands are drawn to hidden buffers. This makes MLC programs automatically double-buffered.

 HALT. It stops execution of the program.
"

What awesome progress, keep up the good work!!  :king:king2.gif

Edit: forgot to post the screenshot:

user posted image
Projects: AOD Series: 75% | FFME: 80% | Pokemon: 18% | RPGSK: 60% | Star Trek: 70% | Star Trek 83+: 40% | TI-City: 5%

Offline necro

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1295
  • Rating: +17/-2
  • +3 vaporal mustache
    • View Profile
MLC 68k: Progress
« Reply #1 on: November 06, 2006, 05:53:00 am »
...maybe it should be STRP instead of STOP...
I'm like a woot burger with awesome fries


VB.Net, C#, C++, Java, Game Maker

Offline Netham45

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2103
  • Rating: +213/-4
  • *explodes*
    • View Profile
MLC 68k: Progress
« Reply #2 on: November 06, 2006, 07:54:00 am »
is there an 83+ version of this?
Omnimaga Admin

Alex

  • Guest
MLC 68k: Progress
« Reply #3 on: November 06, 2006, 09:54:00 am »
It's time for the 89 to start getting the good stuff
<3 bfr

- Alex

spengo

  • Guest
MLC 68k: Progress
« Reply #4 on: November 06, 2006, 11:03:00 am »
woot- looks like pwnage

Offline Radical Pi

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1143
  • Rating: +5/-2
    • View Profile
    • RealityRevolution
MLC 68k: Progress
« Reply #5 on: November 06, 2006, 11:30:00 am »
Progress is always good. Now make the 83+ version catch up with this!
One of these days I'll get a sig I'm really proud of.

Offline bfr

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 819
  • Rating: +4/-0
    • View Profile
    • bfr's website
MLC 68k: Progress
« Reply #6 on: November 06, 2006, 04:07:00 pm »
QuoteBegin-tifreak8x+-->
QUOTE (tifreak8x)

slaving away over a hot computer


:Dbiggrin.gif

Thanks for posting this, tifreak8x, and thanks for all of the support.   :)smile.gif

I could make it #STRP, but that would make it not compatible with other versions of MLC.  I could make it support both, which would make it slightly slower and larger, or I could just make the MLC converter do a little more work when converting.  I'll set up a pole (probably not today though because I really have to get going soon).

I also might include an option that lets MLC programs not have to use #DRAW all of the time to update the screen.  It can become a bit (only a bit ;)wink.gif ) tedious if double-buffering is unneeded but #DRAW still has to be used.

Liazon

  • Guest
MLC 68k: Progress
« Reply #7 on: November 06, 2006, 04:56:00 pm »
Is it possible to get the makers of the other MLC versions to change it?

Offline bfr

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 819
  • Rating: +4/-0
    • View Profile
    • bfr's website
MLC 68k: Progress
« Reply #8 on: November 06, 2006, 05:00:00 pm »
I could probably change MLC 88 myself, but I'd have to talk to Madskillz and the maker of the Casio AFX version to get them the change it.  It's possible though.  :)smile.gif

Remember that this would also make older MLC programs not compatible.

Offline tifreak

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2708
  • Rating: +82/-3
  • My Kung Fu IS strong...
    • View Profile
    • TI-Freakware
MLC 68k: Progress
« Reply #9 on: November 07, 2006, 02:38:00 am »
Meh, I don't see what the problem is. I vote leave it as is, since the original ones were that way.

And you are very welcome bfr. :)smile.gif

I figured since dragon__lance retired, and xlibman isn't around, it fell to me to start makin the news post... >.<
Projects: AOD Series: 75% | FFME: 80% | Pokemon: 18% | RPGSK: 60% | Star Trek: 70% | Star Trek 83+: 40% | TI-City: 5%

Offline necro

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1295
  • Rating: +17/-2
  • +3 vaporal mustache
    • View Profile
MLC 68k: Progress
« Reply #10 on: November 07, 2006, 03:39:00 am »
you don't have to change it, it just seems more logical.  I hope to see progress!
I'm like a woot burger with awesome fries


VB.Net, C#, C++, Java, Game Maker