Author Topic: WinApe as a development tool  (Read 5901 times)

0 Members and 1 Guest are viewing this topic.

Offline AugustoRuiz

  • CPC664
  • ***
  • Posts: 121
  • Country: es
  • Liked: 157
  • Likes Given: 49
WinApe as a development tool
« on: 23:56, 11 March 09 »
Hello all,
I'm using WinApe (a great emulator IMHO) as my primary CPC development tool... Is there any way to contact the author to make some suggestions?
It would be very nice, for example, if we had a window while debugging for displaying variable values. Variables could be the bytes next to a label definition, and depending on the definition used (defb, defw, defs) a different number of bytes could be shown...
Cheers!

Offline Executioner

  • Supporter
  • 6128 Plus
  • *
  • Posts: 783
  • Country: au
  • WinAPE Developer
    • WinAPE
  • Liked: 391
  • Likes Given: 60
Re: WinApe as a development tool
« Reply #1 on: 04:24, 12 March 09 »
Is there any way to contact the author to make some suggestions?

Yes, I'm here from time to time, and will be back on the Zone when it's forum is up again.
 
Good idea. It would probably be silly to show the data for all symbols, but I might put some code in DB/DW etc if the address is the same as the last label to set up the label to display bytes/words etc. It would probably help if you could resize the grid though.

Offline AugustoRuiz

  • CPC664
  • ***
  • Posts: 121
  • Country: es
  • Liked: 157
  • Likes Given: 49
Re: WinApe as a development tool
« Reply #2 on: 11:34, 12 March 09 »
Yes, that would be great! Thanks for answering.The other suggestion I have is about porting WinApe to Linux... Are there any plans to do so? If not... Would you like somebody (like me) to port it?

Offline andyt31

  • CPC464
  • **
  • Posts: 13
  • Country: gb
    • Retro Computers
  • Liked: 9
  • Likes Given: 3
Re: WinApe as a development tool
« Reply #3 on: 15:42, 12 March 09 »
WinApe on Linux would be great - especially as there are a lot of netbook users running linux now.

There are other emus for linux - but ive not had much success with them.
Owner of RetroComputers.online - Website dedicated to retro & vintage computers, old consoles
RetroComputers.online - Website dedicated to retro & vintage computers, old consoles and volunteer at The Centre for Computing History, Cambridge.

Offline fano

  • Supporter
  • 6128 Plus
  • *
  • Posts: 835
  • Country: fr
  • Easter Egg Programmer
    • Easter Egg
  • Liked: 278
  • Likes Given: 614
Re: WinApe as a development tool
« Reply #4 on: 19:48, 12 March 09 »
Hi executionner , i know Winape is already a lot of work but this is just a little request about + emulation :
http://cpcwiki.eu/forum/index.php/topic,103.15.html#msg908
« Last Edit: 19:50, 12 March 09 by fano »
"NOP" is the perfect program : short , fast and (known) bug free

Follow Easter Egg products on Facebook !

Offline AugustoRuiz

  • CPC664
  • ***
  • Posts: 121
  • Country: es
  • Liked: 157
  • Likes Given: 49
Re: WinApe as a development tool
« Reply #5 on: 01:39, 13 March 09 »
By the way... Some other suggestion: Adding Undo/Redo to source code editor would be VERY nice...  ;)

Offline Executioner

  • Supporter
  • 6128 Plus
  • *
  • Posts: 783
  • Country: au
  • WinAPE Developer
    • WinAPE
  • Liked: 391
  • Likes Given: 60
Re: WinApe as a development tool
« Reply #6 on: 04:23, 13 March 09 »
By the way... Some other suggestion: Adding Undo/Redo to source code editor would be VERY nice...  ;)

This is a major feature to get working, but I'm going to get it in the next release.

Offline girv

  • CPC464
  • **
  • Posts: 18
  • Country: gb
  • Will be at Replay Expo 5-6 November
    • girv dot net
  • Liked: 8
  • Likes Given: 0
Re: WinApe as a development tool
« Reply #7 on: 12:59, 22 May 09 »
Can I get a request in to add memory watchpoints to the debugger?

ie: trigger a breakpoint when the contents of a memory location (or range of locations) changes. Maybe define a data area and have an option to "watch for changes" ?

Thanks for listening :)

Offline zeropolis79

  • 6128 Plus
  • ******
  • Posts: 579
  • Country: gb
  • Liked: 150
  • Likes Given: 14
Re: WinApe as a development tool
« Reply #8 on: 20:31, 25 May 09 »
I use WinAPE to redevelop my text adventures (considering the lack of a real CPC)..

An idea - one of the Spectrum emulators uses an external editor for coding BASIC (which I used to develop my Frontier of Warriors loader on it) and it relayed it to the Spectrum enviroment in the emulator - could something like that be done with WinAPE?

Offline lachlank

  • CPC664
  • ***
  • Posts: 87
  • Country: nz
  • Liked: 70
  • Likes Given: 6
Re: WinApe as a development tool
« Reply #9 on: 02:41, 26 May 09 »
Hi all, I have been using WinApe to develop a CPC game and have been sitting on a big list of "nice to have" feature requests for Richard... But have been too sheepish to email him!
Here they are in no particular order:
  • Undo (Ctrl-z) for assembler.
  • Bulk indenting by tab or shift-tab
  • Collapse or expand sections of code a-la Visual Studio (maybe via special comments?)
  • Find all references to symbol function (by right-click symbol or from symbol table)
  • Go to symbol def by right click in editor
  • Enable/Disable breakpoints in debugger. Add enable/disable to list of breakpoints (a-la Visual Studio)
  • Debug "Console" with assembler commands to "write" memory or registers to console i.e. console.write "af: " + af. OR console.write "number of lives" + (lives). Not sure how this would actually be implemented? Maybe keep a dictionary of PC,console expression for when line is hit?
  • Save all function for editor (Ctrl-Shift-S).
  • Stars in the tab heading of unsaved .asm files.
  • A help page with all valid z-80 commands and/or all firmware calls.
  • Stop debugger window jumping to default screen location on step! This is really annoying with dual monitors of different sizes as the debugger ends up split across the two screens.
  • Add to debugger a "watch window" where important memory addresses (or symbols?) can be monitored without having to jump around in memory.
  • Code coverage function - select a block of memory, run until pause, set any memory not "run through" as data, disassemble all else.

I guess what I am asking for is MS Visual Studio (which I use at work every day) for CPC assembler development! Maybe that is a tall order...
Is there any way that WinApe development could be farmed out? I would be happy to contribute... Is it open source?At this point I would like to congratulate Richard on his amazing piece of software and my wish-list is in no way a criticism of what he has built.
Lachlan Keown
« Last Edit: 02:44, 26 May 09 by lachlank »

Offline Grim

  • CPC6128
  • ****
  • Posts: 202
  • Country: gp
  • La pak ba, bèf ka pasé
    • THERE IS NO GAME
  • Liked: 133
  • Likes Given: 67
Re: WinApe as a development tool
« Reply #10 on: 19:19, 17 June 09 »
I noticed that the assembler in WinAPE supports the BRK directive from MAXAM, which is compiled as a RST #30 (opcode &F7).
Could it be updated to compile as &ED,&FF to produce a breakpoint for WinAPE?

Offline Executioner

  • Supporter
  • 6128 Plus
  • *
  • Posts: 783
  • Country: au
  • WinAPE Developer
    • WinAPE
  • Liked: 391
  • Likes Given: 60
Re: WinApe as a development tool
« Reply #11 on: 06:28, 18 June 09 »
I noticed that the assembler in WinAPE supports the BRK directive from MAXAM, which is compiled as a RST #30 (opcode &F7).
Could it be updated to compile as &ED,&FF to produce a breakpoint for WinAPE?

Not really, as I want to maintain Maxam compatibility as much as possible. You could override it with a macro though, eg.

macro brk:db #ed,#ff:endm

Offline Grim

  • CPC6128
  • ****
  • Posts: 202
  • Country: gp
  • La pak ba, bèf ka pasé
    • THERE IS NO GAME
  • Liked: 133
  • Likes Given: 67
Re: WinApe as a development tool
« Reply #12 on: 06:38, 18 June 09 »
I didn't thought about using a macro, that will do fine, thanks! :)