It is currently Mon Oct 20, 2014 4:00 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: break points ignored
PostPosted: Thu Jan 31, 2013 9:46 pm 
Offline
 Profile

Joined: Thu Jan 31, 2013 9:22 pm
Posts: 2
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


Top
 
 Post subject: Re: break points ignored
PostPosted: Fri Feb 01, 2013 7:54 am 
Offline
User avatar
 Profile

Joined: Wed Jan 09, 2008 7:30 am
Posts: 406
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.


Top
 
 Post subject: Re: break points ignored
PostPosted: Wed Feb 06, 2013 8:08 pm 
Offline
 Profile

Joined: Thu Jan 31, 2013 9:22 pm
Posts: 2
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


Top
 
 Post subject: Re: break points ignored
PostPosted: Wed Feb 06, 2013 10:02 pm 
Offline
User avatar
 Profile

Joined: Mon Jan 07, 2008 6:46 pm
Posts: 380
Location: Málaga, Spain
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


Top
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron