News:

Printed Amstrad Addict magazine announced, check it out here!

Main Menu
avatar_Executioner

WinAPE enhancements

Started by Executioner, 10:09, 22 March 16

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

roudoudou

Quote from: krusty_benediction on 15:07, 11 March 18
Hello,
I often use Winape to count the number of nops of my code and it seems there are errors in the timing of some instructions (I'm using v 2.0 beta 2 and have not seen more recent version on the website).
ld a,i => 1 nops instead of 3
add (ix+0) => 2 nops instead of 5

I guess it is the same for similar instructions


I'm using Winape 2.0b2


LD A,I counts 3 nops
ADD (IX+0) counts 5 nops


Can you isolate and reproduce the counting error with the integrated assembler?
My pronouns are RASM and ACE

krusty_benediction



Yep I have the same bug using the code
    org 16384

    ld a, i
    add (ix+0)
To launch the prog I have manually modified PC to go in 0x4000.
Figure 1 gives the amount of nops (in the box T) for ld a,iFigure 2 for add (ix+0)
edit: the image has not been included; T box respectively gave 1 an 2

roudoudou

#127
Quote from: krusty_benediction on 17:46, 11 March 18
To launch the prog I have manually modified PC to go in 0x4000.


I tried you way (setting PC) and my way (assembling the source below with F9) without wrong timing...



org #4000
run #4000
ld a,i ; press F5 on this line to enable breakpoint
add (ix+0)



My winape.exe is 2.443.776 bytes



EDIT: Even the W2A18 gives my the correct timings
My pronouns are RASM and ACE

krusty_benediction

Quote from: roudoudou on 18:23, 11 March 18
My winape.exe is 2.443.776 bytes

My mistake: turbo mode was activated. I did not though it acted on the nop counter.By deactivating it, everything works ok
So there is no bug, just a faulty user....
Sorry for making you lost your time

oss003

#129
Hi guys,


I'm new to the forum and have a question about autostarting a program in WinAPE:

- I'm using WinAGD to create a game sourcefile called GAME.AGD
- The AGD compiler creates an assembler sourcefile called GAME.ASM with the command: COMPILECPC GAME
- To create a binary file called GAME.BIN I'm using PASMO with the command:PASMO GAME.ASM GAME.BIN
- Then I create a diskimage called NEWDISK.DSK and add the file GAME.BIN to it with CPCDiskXP: CPCDiskXP -File GAME.BIN -AddToNewDsk NEWDISK.DSK
- To autostart WinAPE with GAME.BIN, I type: WINAPE NEWDISK.DSK /A:GAME.BIN

Then WinAPE reports a disk error, am I doing something wrong?
Can somebody help me with this?

Golem13

Quote from: oss003 on 10:43, 28 May 18
Hi guys,

I'm new to the forum and have a question about autostarting a program in WinAPE:

- I'm using WinAGD to create a game sourcefile called GAME.AGD
- The AGD compiler creates an assembler sourcefile called GAME.ASM with the command: COMPILECPC GAME
- To create a binary file called GAME.BIN I'm using PASMO with the command:PASMO GAME.ASM GAME.BIN
- Then I create a diskimage called NEWDISK.DSK and add the file GAME.BIN to it with CPCDiskXP: CPCDiskXP -File GAME.BIN -AddToNewDsk NEWDISK.DSK
- To autostart WinAPE with GAME.BIN, I type: WINAPE NEWDISK.DSK /A:GAME.BIN

Then WinAPE reports a disk error, am I doing something wrong?
Can somebody help me with this?
Is the amsdos header automaticaly added with the file when you execute the CPCDiskXP -File command ?

oss003

#131
Now it is, I added it to the CPCdiskXP command:CPCDiskXP -File GAME.BIN -AddAmsdosHeader 7D0 -AddToNewDsk NEWDISK.DSK
The strange thing is that if I manually install the disk image in drive A and run TEST.BIN, it works but not when I start WinAPE NEWDISK.DSK /A:TEST.BIN so the disk image is ok....

oss003

Solved it ........ you have to add the complete path to the disk image name ...




GUNHED

It would be great if Mode 2 videos would be recorded correctly.  :)
http://futureos.de --> Get the revolutionary FutureOS (Update: 2023.11.30)
http://futureos.cpc-live.com/files/LambdaSpeak_RSX_by_TFM.zip --> Get the RSX-ROM for LambdaSpeak :-) (Updated: 2021.12.26)

krusty_benediction

it would be great if
- in the main window, Debug > Send to CPCWifiwould generate a v2 sna and send it to the cpcwifi. - in the disc editor window, Right clic on a file >  Run on CPCWifi would put the dsk on the cpcwifi and ask to run the selected file

Powered by SMFPacks Menu Editor Mod