Create a scd project with magickit

hu, cd, scd, acd, supergrafx discussions.
TOUKO
Posts: 41
Joined: Mon May 25, 2009 5:37 pm

Create a scd project with magickit

Post 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:
Last edited by TOUKO on Fri Apr 30, 2010 4:25 pm, edited 1 time in total.
User avatar
MooZ
Site Admin
Posts: 407
Joined: Sun Jun 22, 2008 3:19 pm
Location: Lvl 3
Contact:

Re: Create scd project with magickit

Post by MooZ »

Does pceas outputs some error/warning messages? Or the iso generated is malformed?
TOUKO
Posts: 41
Joined: Mon May 25, 2009 5:37 pm

Re: Create scd project with magickit

Post 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.
User avatar
MooZ
Site Admin
Posts: 407
Joined: Sun Jun 22, 2008 3:19 pm
Location: Lvl 3
Contact:

Re: Create scd project with magickit

Post 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 ?
TOUKO
Posts: 41
Joined: Mon May 25, 2009 5:37 pm

Re: Create scd project with magickit

Post 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 ???
User avatar
MooZ
Site Admin
Posts: 407
Joined: Sun Jun 22, 2008 3:19 pm
Location: Lvl 3
Contact:

Re: Create scd project with magickit

Post 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.
TOUKO
Posts: 41
Joined: Mon May 25, 2009 5:37 pm

Re: Create scd project with magickit

Post 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 ??
User avatar
MooZ
Site Admin
Posts: 407
Joined: Sun Jun 22, 2008 3:19 pm
Location: Lvl 3
Contact:

Re: Create scd project with magickit

Post 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
TOUKO
Posts: 41
Joined: Mon May 25, 2009 5:37 pm

Re: Create scd project with magickit

Post 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 ???
User avatar
MooZ
Site Admin
Posts: 407
Joined: Sun Jun 22, 2008 3:19 pm
Location: Lvl 3
Contact:

Re: Create scd project with magickit

Post by MooZ »

To be honest I've never done any CD stuff :(
I'll take a look this evening.
Post Reply