Search found 301 matches

by simon
Mon Jan 05, 2015 2:39 pm
Forum: Operating system
Topic: Porting EhBASIC to gcc?
Replies: 23
Views: 92606

Re: Porting EhBASIC to gcc?

The EhBASIC source code as-is is for the EASy68K or unix68k assembler. Latter is linked at the links page.

Simon
by simon
Mon Jan 05, 2015 2:36 pm
Forum: Operating system
Topic: CS8900
Replies: 3
Views: 20105

Re: CS8900

Not here, but if you follow the download link from above you'll end sooner or later at http://download.savannah.gnu.org/releas ... 0/CS8900A/

Best
Simon
by simon
Mon Jan 05, 2015 2:03 pm
Forum: Operating system
Topic: CS8900
Replies: 3
Views: 20105

Re: C8900

Hello legacy,

first welcome to this forum.

Well, the best place to look at the CS8900a sources is at http://savannah.nongnu.org/projects/lwip/ and http://download.savannah.gnu.org/releases/lwip/.
The very few programs I wrote are based on lwip and its raw/native API.

Best
Simon
by simon
Sat Dec 27, 2014 7:09 pm
Forum: Programming
Topic: Programming the VDP in ASM
Replies: 6
Views: 28741

Re: Programming the VDP in ASM

Great Chris, I am happy for you that it works now. :) Programming errors can be a nightmare to find...

Good luck with your program. I am curious what it will be. :)

Regards
Simon
by simon
Sat Dec 27, 2014 6:10 pm
Forum: Programming
Topic: Programming the VDP in ASM
Replies: 6
Views: 28741

Re: Programming the VDP in ASM

Hi Chris, maybe your program never contiues at your status check right at the beginning. Look at your code: WAIT move.b $3df610, D0 ; read status $10 is port #8 which is the "primary standard kanji ROM ADDRESS PORT" which is write-only. You probably got confused by hex and decimal as you w...
by simon
Sat Dec 27, 2014 11:08 am
Forum: Programming
Topic: Programming the VDP in ASM
Replies: 6
Views: 28741

Re: Programming the VDP in ASM

Belated happy Christmas Chris, the register values are correct. First I can see is that you copy 16 bytes only to the palette. Each of the palette entries consists of three bytes (one for R, one for G, one for B). Thus you have to write 3*16 bytes. Second I don't know if the first entry of the font ...
by simon
Sat Nov 15, 2014 8:31 pm
Forum: Programming
Topic: c++ compiler
Replies: 5
Views: 37078

Re: c++ compiler

I haven't checked in a c++ project (with the new Makefile) yet, but here you are. CC=/usr/bin/m68k-elf-gcc CXX=/usr/bin/m68k-elf-g++ OBJCOPY=/usr/bin/m68k-elf-objcopy OBJDUMP=/usr/bin/m68k-elf-objdump OBJS=Cell.o Gameboard.o GameOfLife.o GOFMain.o CFLAGS=-m68000 -O3 -foptimize-sibling-calls -fomit-f...
by simon
Sat Nov 15, 2014 4:27 pm
Forum: Programming
Topic: c++ compiler
Replies: 5
Views: 37078

Re: c++ compiler

I found the issue. The _start is at a different address. In addition the address changes with different settings. I altered the Makefile to meet the new condition. Now we are able to use c++ with Kiwi. :)
by simon
Tue Nov 11, 2014 1:47 pm
Forum: Programming
Topic: c++ compiler
Replies: 5
Views: 37078

Re: c++ compiler

Yeah, that's what I think. The crt0 does some stuff with the constructors including setting up lists for later destructors. I may skip the whole c++ stuff again and start porting another c-written game. I still have some nice ideas. :-)
by simon
Tue Nov 11, 2014 8:12 am
Forum: Programming
Topic: c++ compiler
Replies: 5
Views: 37078

c++ compiler

Hi, the c/c++ cross toolchain manual builds a c and c++ cross compiler. I did some tests yesterday. m68k-elf-g++ compiles .cpp fine but when I try to run the generated .bas the Kiwi crashes. I suspect a problem with the linker skript (kiwi.ld) and/or the c runtime library (crt0.S). Maybe the handlin...

cron