VIC IDE

You need an actual VIC.

Moderator: Moderators

User avatar
nbla000
Salmon Run
Posts: 2582
Joined: Thu Oct 13, 2005 8:58 am
Location: Italy

Post by nbla000 »

carlsson wrote:By the way, does the improved BasText allow inclusion of binary files at the end of the listing? I believe that would be one of the big changes that puts one program ahead of others.
No but Nippur72 wrote a modified version of his ASMproc tool with preliminary Basic support that allows that but it requires DASM and his never published ASMproc, I've a work in progress version used for some PaperSoft works.
Please note that this tool does not support pseudotokens like {down*3}, sample code:

Code: Select all

#processor 6502
  
   include "vic20.lm"
   include "macros.lm"

   org $1001  
   basic start
	20 PRINT"{GRN}**********************";
	110 M$="{BLK}{SHIFT A}{DOWN}{LEFT}{SHIFT B}{GRN}":N$="{BLK}{SHIFT P}{DOWN}"
	120 S0$="{SHIFT C}{SHIFT D}{SHIFT E}{CBM T}{CBM @}{SHIFT R}{SHIFT F}
	130 POKE36879,220:POKE36878,80:PRINT"{CLR}{BLK}{RVS ON}{RIGHT}{RIGHT}";
	140 POKE 646,13:PRINT"{HOME}{DOWN} "T$"{UP}{LEFT}"T$"{UP}{RIGHT}"
	150 PRINT"{UP}{RIGHT}{RIGHT}"T$"{UP}{RIGHT}"T$"{LEFT}{LEFT}"T$;
	180 PRINT"{HOME}{DOWN}{DOWN}{DOWN}"
	210 PRINT"USA {RVS ON}A{RVS OFF} - {RVS ON}Z{RVS OFF}";
	230 PRINT"{HOME}{DOWN}"TAB(35)"{RED}COLPI:   {LEFT}{LEFT}{LEFT}"
	840 DATA31,14,14,14,14,14,238,10,100,10,95,10,127,10,14,30
   basic end
   org $1c00	
   include "charset.bin"

;{CLR}{HOME}{RVS ON}{RVS OFF}{DOWN}{UP}{LEFT}{RIGHT}
;{BLK}{WHT}{RED}{GRN}{YEL}{CYN}{BLU}
;{SHIFT A}{CBM A}{CTRL A} 
;{F1}{F3}{F5}{F7}
Mega-Cart: the cartridge you plug in once and for all.
carlsson
Class of '6502
Posts: 5516
Joined: Wed Mar 10, 2004 1:41 am

Post by carlsson »

It is amazing how many interesting things are lurking on people's hard disks, stuff that rarely or never gets mentioned, even less published. :shock:
Anders Carlsson

Image Image Image Image Image
User avatar
nbla000
Salmon Run
Posts: 2582
Joined: Thu Oct 13, 2005 8:58 am
Location: Italy

Post by nbla000 »

carlsson wrote:It is amazing how many interesting things are lurking on people's hard disks, stuff that rarely or never gets mentioned, even less published. :shock:
I think that Nippur72 wants to reach a stable version before to publish it but he is busy with other interests at the moment...
Mega-Cart: the cartridge you plug in once and for all.
User avatar
Mike
Herr VC
Posts: 5134
Joined: Wed Dec 01, 2004 1:57 pm
Location: Munich, Germany
Occupation: electrical engineer

Post by Mike »

Pedro Lambrini wrote:To clarify my point regarding the pokes here is the code I type:

[...] 30 poke36879,a [...]

As you can see it has a poke only really pertinent to the Vic... :)
I checked precisely this line with C64 PRG Gen myself, both in lower, and upper case. I saved the program both as *.bas, and working *.prg. No errors occured. The option to save as *.prg is available as button in the upper menu bar. Just try it yourself.

If you meant the 'compilation' should tokenize the program, you were probably wrong - this compilation is something still under construction in C64 PRG Gen.
I'm sorry, have I offended you somehow?
No. I just wondered how you could insist on a somewhat improbable scenario, which already had been taken into the absurd realms by carlsson. ;)

Greetings,

Michael
Post Reply