| www.retrosoftware.co.uk http://www.retrosoftware.co.uk/forum/ |
|
| break points ignored http://www.retrosoftware.co.uk/forum/viewtopic.php?f=16&t=812 |
Page 1 of 1 |
| Author: | JamesA [ Thu Jan 31, 2013 9:46 pm ] |
| Post subject: | break points ignored |
Hi I think swift is fantastic, and I am absolutely blown away by it, and the effort you have made with tutorials is above and beyond, I can't express how (a) grateful and (b) impressed I am. I'm having a small problem though, not a showstopper by any means, but breakpoints are not working, and also hovering over labels that should have values in the code simply reveals the tooltip message :'no current value please run your project' - and this is not because the project has not or is not running, it is. this is by no way means of complaint, and I only mention it if perhaps it is something obvious that I missed in the set up, I am using beebem and p65 as recommended, I am running windows 7 SE on a netbook. any info gratefully received, but don't feel obliged, you've already done so much, thanks again. James |
|
| Author: | SteveO [ Fri Feb 01, 2013 7:54 am ] |
| Post subject: | Re: break points ignored |
Hi, Thanks for that. Mmm...I'll just check with you which version of Swift you are using, is it definitely the latest? as there are many versions on the Wiki page. If that's not it then I'll have to have a head scratch. |
|
| Author: | JamesA [ Wed Feb 06, 2013 8:08 pm ] |
| Post subject: | Re: break points ignored |
I'm using version 4.2.5 of Swift. could the problem be that I'm using the Ophis assembler which is a windows executable rather than the perl script P65? anyway, don't worry, it's not been a problem, I more needed a simple way of making the code modular with includes, which Swift has been great for. on another note, I have some old BBC listings in a book which have statements like LDA #HIMEM MOD &100 so I'm thinking that I can set up a constant for HIMEM and create a macro for the MOD &100 (I've some code for calculating MODs in 6502 operations from a book), of course I could probably just work out the answer, since HIMEM is going to be a constant, but I think it would be a neat exercise, and helpful hints gladly received! Thanks James |
|
| Author: | RichTW [ Wed Feb 06, 2013 10:02 pm ] |
| Post subject: | Re: break points ignored |
In an assembler like P65 (as is the default with Swift), the equivalent syntax would be: LDA #<HIMEM i.e. the least significant byte of the variable HIMEM. The corresponding syntax for HIMEM DIV &100 (to get the most significant byte) is (unsurprisingly): LDA #>HIMEM |
|
| Page 1 of 1 | All times are UTC [ DST ] |
| Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |
|