News:

Printed Amstrad Addict magazine announced, check it out here!

Main Menu

Recent posts

#91
R
Amstrad CPC hardware / Re: PicoCPC
Last post by Rodrik - 18:33, 22 September 25
Yes it is easy, and futureOS abuses it by requested time more than 100 times per second on this screen.
#92
avatar_Gryzor
Other retro / eXoDOS v6 Spanish Language Pac...
Last post by Gryzor - 17:59, 22 September 25
For our Spanish friends:

https://www.retro-exo.com/exodos_slp_M.html

And for anyone who isn't aware of the project... Go buy a new HDD.
#93
avatar_SagaDS
Programming / Re: CPCTelera - Ordering linka...
Last post by SagaDS - 17:47, 22 September 25
Ok, I found a solution...

Replacing in config file
OBJFILES := $(C_OBJFILES) $(ASM_OBJFILES)
by
OBJFILES := $(ASM_OBJFILES)  $(C_OBJFILES)
seems to do the trick.
I also had to put an .area _CODE inside my asm files containing data so it doesn't go out of my control...

Still, if a SORT function can be used here, it can be helpful. Maybe it exists?
OBJFILES := $(sort $(ASM_OBJFILES)  $(C_OBJFILES))
#94
avatar_GUNHED
Amstrad CPC hardware / Re: PicoCPC
Last post by GUNHED - 16:49, 22 September 25
Bravo!!!  :) :) :) Great to see that you can emulate the NovaRTC  :) :) :)

From the software side it's very easy: Bank in RTC, read data bytes, bank back in regular RAM. Everybody can do it!  :) :) :)
#95
avatar_SagaDS
Programming / CPCTelera - Ordering linkage
Last post by SagaDS - 16:23, 22 September 25
Hello CPCTelera users.

I am currently creating a game with a mix of C and assembly.
Some parts of my assembly files need to be set inside lower 16KB of main RAM : File system / Banking system / Decompressor / Some data area aligned to 8 bytes...
My program starts at 0x140 so you may think it would be easy to do it by just putting my assemblies in the beginning of the linker.
If I do it by hand, I works very well. But if I let CPCTelera as is, it does'nt...

Unfortunately, z80 assembly is done after c compilation and rel files are ordered from c to asm... asm adressing is done after c.

Is there an easy way in config file to force compilation of assembly before c? I am not an expert in config files, each time I tried to move something, everything just collapse to not working garbage :P 

A small sample to understand issue (my game is a bit more complicated):

Config:
Z80CODELOC := 0x200

a_asm.s
    _obj:: .ds 256  
; I need this to be @0x200 directly I don't really want to use .area _MyObj (ABS) because I have to change Z80CODELOC accordingly

a_main.c
extern u8 *obj;
void main ()
{
    obj[0]='A';
}

When compiling this, _obj adress is not 0x0200 but after main... 
If you invert obj/a_main.rel and obj/a_asm.rel in link command it works as I would.

Of course if you have a clever way to organize the project so that everything is done in a predetermined order, I will try it too.
But just changing assembly and c order could be enough in my point of view.

I also tried to make some subdirectories to organize, but same thing, c before assembly.
I wonder if a step of ordering can be added before link using alphabetical order of rel. If so, I can rename my files to make sure they are done in correct order.
#96
R
Amstrad CPC hardware / Re: PicoCPC
Last post by Rodrik - 14:34, 22 September 25
I did try futureOS with NovaRTC emulation and it works fine


It also work fine with UniDOS


But SymbOS just freeze after reading the date without even trying to send a out &FE82,00 or any invalid page value.
So if SymbOS guy are around, maybe you can look into the issue.
Nova: 82:EB Nova page 3 activated @ E000
W FFF0:78
W FFF1:56
R FFF0:78
R FFF1:56
Nova: 82:00 Nova page deactivated
Nova: 82:2B Nova page 3 activated @ 2000
W 3FF8:40
R 3FFF:25
R 3FFE:09
R 3FFD:21
R 3FFB:17
R 3FFA:44
R 3FF9:01
W 3FF8:00
#97
avatar_unay
News & Events / Re: CPCDiskXP v2.1 released
Last post by unay - 14:11, 22 September 25
EDIT: Sorry, i miss understand the situation :)
I thought you cant use usb drive for writing 3.5" disks.

@xesrjb what kind of problems are you facing?
I use an external usb drive and works good.
You need to choice "usb compatible formats"

[/url][/img]
#98
@Bryce

Thanks

Keep Safe

Ray
#99
avatar_nikos_a
Games / Re: Mighty Street fighter - CP...
Last post by nikos_a - 12:58, 22 September 25
Apparently, 1.2 is only available in DSK. So I was trying to run 1.0 from ULIfAC. Which makes it even stranger because I completed v1.0 directly from mass storage. Now it refuses to run. And I checked with |ROM, all ROMs are disabled. Strange! 1.2 apparently works fine from my Gotek
#100
Hi - you can find a link to the QTERM disk image here:  Links to useful software · VapourSoft/PCWWiFiModem Wiki
Powered by SMFPacks Menu Editor Mod