mirror of
https://github.com/cc65/cc65.git
synced 2025-01-12 17:30:50 +00:00
Update multidemo.c
This commit is contained in:
parent
8b008052cb
commit
5d2730f4b4
@ -64,34 +64,34 @@ void log (char *msg)
|
||||
** rather place all the code of certain source files into the overlay by
|
||||
** compiling them with --code-name OVERLAY1.
|
||||
*/
|
||||
#pragma code-name (push, "OVERLAY1");
|
||||
#pragma code-name (push, "OVERLAY1")
|
||||
|
||||
void foo (void)
|
||||
{
|
||||
log ("Calling main from overlay 1");
|
||||
}
|
||||
|
||||
#pragma code-name (pop);
|
||||
#pragma code-name (pop)
|
||||
|
||||
|
||||
#pragma code-name (push, "OVERLAY2");
|
||||
#pragma code-name (push, "OVERLAY2")
|
||||
|
||||
void bar (void)
|
||||
{
|
||||
log ("Calling main from overlay 2");
|
||||
}
|
||||
|
||||
#pragma code-name (pop);
|
||||
#pragma code-name (pop)
|
||||
|
||||
|
||||
#pragma code-name (push, "OVERLAY3");
|
||||
#pragma code-name (push, "OVERLAY3")
|
||||
|
||||
void foobar (void)
|
||||
{
|
||||
log ("Calling main from overlay 3");
|
||||
}
|
||||
|
||||
#pragma code-name(pop);
|
||||
#pragma code-name(pop)
|
||||
|
||||
|
||||
unsigned char loademdriver (void)
|
||||
|
Loading…
x
Reference in New Issue
Block a user