Jump to content

Photo

New cc65 version


2 replies to this topic

#1 semicolo OFFLINE  

semicolo

    Chopper Commander

  • 128 posts

Posted Mon Sep 14, 2009 7:16 AM

Since Karri was talking about a new cc65 I tried to find some news about it on the official site, but no luck.

So when will it be available and what's new in it ?

#2 Sub(Function(:)) OFFLINE  

Sub(Function(:))

    Moonsweeper

  • 409 posts
  • Location:Athens, Greece

Posted Mon Sep 14, 2009 11:48 AM

Since Karri was talking about a new cc65 I tried to find some news about it on the official site, but no luck.

So when will it be available and what's new in it ?


Not sure, but if you want up-to-date info there are is a list server with info about the package.

for information look for the "Mailing List" section of the CC65 main site

#3 karri OFFLINE  

karri

    Stargunner

  • 1,398 posts
  • Location:Espoo, Finland

Posted Wed Sep 16, 2009 10:56 AM

You have to get it using the svn command (subversion). And compile the tools by yourself.

Currently it supports a new object type called interruptor.

This means that if you want to add a routine called by interrupts you just type:

.interruptor clock

.word time

clock:
inc time
rts

That's it.

If you want to increment it only at every VBL interrupt add

clock:
lda INTSET
and #4
beq @L0
inc time
@L0:
rts

To the tgi engine I also added new functions:

tgi_busy and tgi_updatedisplay

if (!tgi_busy()) {
... draw something ...
tgi_updatedisplay();
}

These new methods work with IRQ's automatically.

There is also a new command

tgi_setframerate(75);

Possible rates 50, 60, 75 Hz.

What I still would like to before the release is to add ComLynx interruptor driver and cart Posix filesystem.

--
Karri




0 user(s) are browsing this forum

0 members, 0 guests, 0 anonymous users