Search found 29 matches

by fox68k
Tue Oct 12, 2004 8:36 am
Forum: Programming Discussion
Topic: and now with the new Motorola 68000 by Fox68k
Replies: 22
Views: 901

The only thing that sucks is that the API is really different than musashi or c68k. Not very different. Maybe the part that could is memory handling. C68k leaves the task to a handling function. This makes the library more simple but at the cost of slower access to memory (not I/O, remember m68k I/...
by fox68k
Tue Oct 12, 2004 8:24 am
Forum: Programming Discussion
Topic: and now with the new Motorola 68000 by Fox68k
Replies: 22
Views: 901

Look for the PC version of FAME. Same API, and it has documentation. i figured there are some differences cause he said he was gonna release seperate documentation for it. but yea i read that stuff. do you happen to know of any PC emulator that uses that? i cant find any. I will not release separat...
by fox68k
Tue Sep 07, 2004 4:23 am
Forum: Programming Discussion
Topic: Generating binary code with GNU AS
Replies: 5
Views: 419

Yes, i want a binary memory dump from the m68k, this is the initial PC and initial stack pointer at the beginning of the file. I was thinking about building that program. It is very easy to code and could do the job perfectly. :) Again, thank you very much for you great help BlackAura. :kiss) Cheers.
by fox68k
Fri Sep 03, 2004 3:19 pm
Forum: Programming Discussion
Topic: Generating binary code with GNU AS
Replies: 5
Views: 419

I can generate raw binary output but i am unable to get a binary with the initial PC and stack pointer (linker could put there 0x10 as i want). Why? :?:

Thank you very much, your help is much much appreciated.
by fox68k
Tue Aug 31, 2004 2:21 pm
Forum: Programming Discussion
Topic: Generating binary code with GNU AS
Replies: 5
Views: 419

Generating binary code with GNU AS

Hi, i am assembling 68k programs and since i have no assembler under linux i have to get back to windows :cry: Now, I am trying to generate raw binary code with GNU AS (targetted to m68k). Instead, i get object code not in the way i want :? This is, plain raw binary: Assembly code: absolute org $10 ...
by fox68k
Sat Aug 28, 2004 6:55 pm
Forum: Programming Discussion
Topic: Timing a job
Replies: 2
Views: 168

Thank you very much BlackAura, it worked perfectly (even milliseconds) :D
by fox68k
Sat Aug 28, 2004 12:41 pm
Forum: Programming Discussion
Topic: Timing a job
Replies: 2
Views: 168

Timing a job

I want to time a job in C (milliseconds needed at least) and i have used clock and time functions (declared in time.h) and i got null return values :| . I am using KOS and i guess there should be a function to accomplish this task.

Any help would be much appreciated.

Thanks in advance.
by fox68k
Wed Aug 04, 2004 5:31 am
Forum: Programming Discussion
Topic: Controller/keyboard input without KOS
Replies: 12
Views: 707

Thank you very much for all this information! :D Kamjin, i will try that code in my program. :wink: One more question arise now. When i try to use standard C functions (like printf, cos, etc) i don't get errors or warnings in the include statement (#include <math.h> for example) but the linker throw...
by fox68k
Tue Aug 03, 2004 11:03 am
Forum: Programming Discussion
Topic: Controller/keyboard input without KOS
Replies: 12
Views: 707

Controller/keyboard input without KOS

Hi, i need VERY basic input (controller or keyboard, keyboard preferred) in my program, but since it is big to upload it through serial cable (i don't own a BBA ) i don't want to use KOS. I've been looking at Marcus notes, but i can't figure it out. Anyone knows an easy way to get access to the stat...