Dead Hackers Society
Other BBSes »
 
 
Demoscene  Coding  CT60  Buy/sell

Atari coding BBS
 
Re: Get VBCC+VASM+VLINK to work?
Posted by: Sdw Aug,14.2013-11:44 

Thanks Orion! Using your setup as a base, I got the following to work:

#include <tos.h>
#include <stdio.h>

void demo()
{
volatile unsigned short* palette;

palette=0xffff8240;
palette[0]=0x00f;
}

int main()
{
printf("hello world\n");
Supexec(demo);
while(1);
}

I assume the Supexec comes from tos.h and does the OS-disable stuff needed to the HW-access to be granted?
Btw. how much of your help-functions in Falcsys could be applied to plain ST (my target platform) as well?









[All messages in this thread]    [Start new thread]

Topic Posted by  Date 
Get VBCC+VASM+VLINK to work? Sdw Aug,13.2013-00:22
  Re: Get VBCC+VASM+VLINK to work? Sdw Aug,13.2013-21:51
    Re: Get VBCC+VASM+VLINK to work? AdamK Aug,13.2013-22:28
      Re: Get VBCC+VASM+VLINK to work? PeP Aug,16.2013-07:59
    Re: Get VBCC+VASM+VLINK to work? Sdw Aug,13.2013-23:09
      Re: Get VBCC+VASM+VLINK to work? AdamK Aug,14.2013-06:59
        Re: Get VBCC+VASM+VLINK to work? Sdw Aug,14.2013-11:44
          Re: Get VBCC+VASM+VLINK to work? mikro Aug,14.2013-23:40
            Re: Get VBCC+VASM+VLINK to work? sqward Aug,16.2013-12:57
              Re: Get VBCC+VASM+VLINK to work? ggn Aug,16.2013-17:30
                Re: Get VBCC+VASM+VLINK to work? PeP Aug,19.2013-11:33
  Re: Get VBCC+VASM+VLINK to work? Orion_ Aug,14.2013-01:08
    Re: Get VBCC+VASM+VLINK to work? Sdw Aug,14.2013-11:45


Reply to this message
Name:
Topic:
Anti-troll code:

Message:

What's the anti-troll code?
That's your personal code to be able to add comments and messages on the dhs.nu site.
Don't have a code or forgot it? Fix it here.
© 1994-2024 Dead Hackers Society Contact: Anders Eriksson