Search results
Problem with MSXBIOS.H in MSX-c
Score: 141.79 %,
Type: Forum topic , Comments: 46 comments
boxline(10,10,100,100);
return 0;
}
If I give the follow command:
A:\c xtetris
I obtain the follow messages:
[b:\include\MSXBIOS.H] line 0 column 17: redeclaration of 'NAT' ...
boxline(10,10,100,100);
return 0;
}
and I had the follow messages:
in "main" call ...
My crt0calc.s
Score: 139.02 %,
Type: Forum topic , Comments: 5 comments
Hi, hit9918 wrote me the follow code crt0.s.
.module crt0
.globl _main
;; ... and why.
My error message is this:
crt0calc.s:40 Error: <u> undefined symbol encountered during assembly
crt0calc.s:44 Error: <u> undefined symbol encountered during assembly
crt0 ...
I need a crt0 for my calculator Z80
Score: 138.88 %,
Type: Forum topic , Comments: 12 comments
calculator:
The EEPROM program memory is form 0x0000 to 0x1FFF
The RAM data memory is from 0xE000 to 0xFFFF
Anybody can help me to make a crt0.o for add and link that with my app.c for my ... compile.bat is this:
sdcc My compile.bat is this:
sdcc –debug –no-std-crt0 -mz80 –code-loc 0 ...
My paint() in C
Score: 148.47 %,
Type: Forum topic , Comments: 17 comments
ld l, 5(ix)
call #0x0069 ; ---> BIOS call for color the screen
ld 6(ix),#0x9D
call #0x0069
__endasm;
}
my app.c is the follow:
#include "graphic.h"
extern int x, y, a, b, ray, col;
void (*function)() = (void (*)())0xc0;
void main()
{
color(5,15,5); ...
Enlarge SDCC's stack
Score: 138.93 %,
Type: Forum topic , Comments: 32 comments
By looking at the crt0, it By looking at the crt0, it seems SDCC doesn't set its own stack. ... is a forum if ppl cant ask questions? SP4 is obviously very enthusiastic and coding frequently. With higher ... looking at the crt0, it seems SDCC doesn't set its own stack. One thing to do is to avoid big local ...
Problem of reset with my line()
Score: 138.95 %,
Type: Forum topic , Comments: 6 comments
(void (*)())0xc0;
extern int x, y, x1, x2, y1, y2, col;
extern float m, q;
void main()
{
screen(5);
color(1,15,1);
x1 = 30;
y1 = 30;
x2 = 0;
y2 = 0;
col=15;
line();
halt();
di(); ... de
dec sp
pop af
push af
inc sp
push de
push bc
push hl
push af
ld ix,#0x91 ;MAPXYC
call ...
Problem with my play()
Score: 138.89 %,
Type: Forum topic , Comments: 17 comments
#define WRTPSG 0x0093
#define RDPSG 0x0096
//int x;
//int y;
//float time[3];
//unsigned char ... (hl),d ;FDA3: F9
inc hl
LD HL, START$
LD DE, VSYNC_ISR
LD BC, #0x70 ;#0x70 esadecimale (lunghezza del blocco da copiare
; che dovrebbe essere circa 102 byte = #0x66, mettiamo #0x70 per ...
Problem with LINE()
Score: 138.76 %,
Type: Forum topic , Comments: 1 comment
{
double x=0.0,y=0.0;
double m=0.0, q=0.0;
m=(y2-y1)/(x2-x1);
if((x2-x1)==0.0) m=0.0;
q=y1-(m*x1);
for(x=x1;x
you couldn't post this here you couldn't post this here http://www.msx.org/forum/msx-talk/development/problem-line ? ...
Problem with sound()
Score: 138.77 %,
Type: Forum topic , Comments: 26 comments
(*)())0xc0;
void main() {
sound(0, 254);
sound(1, 0);
sound(8, 11);
di();
halt();
} ...
#include "graphic.h"
#include "sound.h"
void (*function)() = (void (*)())0xc0;
void main() {
sound(0, 254);
sound(1, 0);
sound(8, 11);
sound (7, 0x62);
di();
halt();
} ...
Problem with LINE
Score: 138.64 %,
Type: Forum topic , Comments: 0 comments
I implemented the follow library:
graphic.c
[code]
void line(int x1, int y1, int x2, int y2, char color)
{
int x=x1;
int y=y1;
for(x;x
(Development) ...
