Page 1 of 3

Create a scd project with magickit

Posted: Fri Apr 23, 2010 7:21 am
by TOUKO
Hi all, i try to make some overlays in full asm.

But i have a fucking problem :evil:
How to make a scd iso or an overlay with mkit ???
I'am using mkit ver 1.51, and pceas.exe -scd toto.asm don't work (can not find cdstart.asm).

Someone can help me ??? :mrgreen:

Re: Create scd project with magickit

Posted: Fri Apr 23, 2010 7:45 am
by MooZ
Does pceas outputs some error/warning messages? Or the iso generated is malformed?

Re: Create scd project with magickit

Posted: Fri Apr 23, 2010 8:36 am
by TOUKO
Thanks for your response ..

When i'am compiling my asm code for generating a .pce, it's all right, however for generate a scd executable, an error was occur.

bin\pceas.exe -scd toto.asm (this is right or not ???)

This error is : can not find cdstart.asm.
this file not exist in include\pce directory.
I know that with huc it's cdrom.asm and cdrom.inc files was used.

i'am using mkit classic ver 1.51, not pceas.exe supplied with HUC.

PS: my PCE_INCLUDE environment variable is good :roll:
PS2: No problems to make a huc scd.

Re: Create scd project with magickit

Posted: Fri Apr 23, 2010 9:15 am
by MooZ
I check pceas includes and cdstart.asm is nowhere to be found. Same thing with pceas source.
By the way, can you check if the CDROM value is set to SUPER_CD in pceas ?

Re: Create scd project with magickit

Posted: Fri Apr 23, 2010 10:06 am
by TOUKO
MooZ wrote:I check pceas includes and cdstart.asm is nowhere to be found. Same thing with pceas source.
this is included by startup.asm

Code: Select all

;
; STARTUP.ASM  -  MagicKit standard startup code
;
	       .if (CDROM)
		.include  "cdstart.asm"  ; CD-ROM
	       .else
		.include  "standard.inc" ; HUCARD
		.ifdef HUC
		 .include "huc.inc"      ; HUC
		 .include "huc_opt.inc"
		.endif

; ----
; setup flexible boundaries for startup code
; and user program's "main".
;
START_BANK	.equ	0
	       .ifdef HUC
CONST_BANK	.equ	START_BANK+1
FONT_BANK	.equ	START_BANK+2
DATA_BANK	.equ	START_BANK+3
	       .else
MAIN_BANK	.equ	START_BANK+1
	       .endif

; ----
; system variables
;
Beware this statups.asm, is not the same that startup for HUC.
MooZ wrote:By the way, can you check if the CDROM value is set to SUPER_CD in pceas ?
How ??? :shock:
in main.c -scd parameter is equal to SUPER_CD.

Huc cannot compile full asm properly ???

Re: Create scd project with magickit

Posted: Fri Apr 23, 2010 11:35 am
by MooZ
OK... As we say "C'est la merde John!"
This is what I have (dated 03/22/2009 with some modifications of mine) :

Code: Select all

;
; STARTUP.ASM  -  MagicKit standard startup code
;

; first, set MOUSE to default on:
;
SUPPORT_MOUSE	.equ	1

		.list

		.ifdef HUC
		 .include "huc.inc"      ; HUC
		 .include "huc_opt.inc"
		.endif	; HUC

		.include  "standard.inc" ; HUCARD


; ----
; setup flexible boundaries for startup code
; and user program's "main".
;
START_BANK	.equ	0
Here's the download link : http://blockos.untergrund.net/data/pce/huc_03222009.zip
It may not the most up to date version. I may check with zeograd/dshadoff and all the other huc/pceas dev if another release is planned.

Re: Create scd project with magickit

Posted: Fri Apr 23, 2010 12:33 pm
by TOUKO
MooZ wrote:OK... As we say "C'est la merde John!"
Lol ,j'ai pissé dans mon froc

Code: Select all

;
; STARTUP.ASM  -  MagicKit standard startup code
;

; first, set MOUSE to default on:
;
SUPPORT_MOUSE	.equ	1

		.list

		.ifdef HUC
		 .include "huc.inc"      ; HUC
		 .include "huc_opt.inc"
		.endif	; HUC

		.include  "standard.inc" ; HUCARD


; ----
; setup flexible boundaries for startup code
; and user program's "main".
;
START_BANK	.equ	0
yes, i have the same in my huc directory (vers 3.21)
MooZ wrote: Here's the download link : http://blockos.untergrund.net/data/pce/huc_03222009.zip
It may not the most up to date version. I may check with zeograd/dshadoff and all the other huc/pceas dev if another release is planned.
thanks, but pceas has no extension (ex .exe), and don't work if i rename it in pceas.exe.

With your huc directory you can compile a .asm file directly ???
bin\pceas.exe myfile.asm, with huc include files works ??

Re: Create scd project with magickit

Posted: Fri Apr 23, 2010 12:45 pm
by MooZ
Arg crap sorry, that's the linux version :)
The archive contains pceas source with a visual studio 2008 project and solution.
Anyway here's a version from July 2009: http://blockos.untergrund.net/mooz/steak/pceas.exe

Re: Create scd project with magickit

Posted: Fri Apr 23, 2010 1:06 pm
by TOUKO
Sorry , like my huc version, i cannot compile a single .asm file with huc libraries :cry: ..
There are many compilation errors .
And you, how you make a full asm project for scd ???

Re: Create scd project with magickit

Posted: Fri Apr 23, 2010 1:20 pm
by MooZ
To be honest I've never done any CD stuff :(
I'll take a look this evening.