Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
You are not logged in - nap
CSDb User Forums


Forums > C64 Coding > How do i save in vice ? (monitor)
2010-06-01 10:34
turtle
Account closed

Registered: Mar 2005
Posts: 44
How do i save in vice ? (monitor)


have made a intro using turbo assembler in vice.

s "intro" 8 0801 2600

?

but when i try to run it with sys 2049 ($0801)
i wont work.

help =)
2010-06-01 12:02
SIDWAVE
Account closed

Registered: Apr 2002
Posts: 2238
you cannot put code at 0801 and also have a basic sysline on it then.

the lowest point to have "1 sys 2061" on the basic line, is 080d, where your code must start.
2010-06-01 17:47
tlr

Registered: Sep 2003
Posts: 1728
If you load something to $0801 using a basic load command (i.e LOAD"FILE",8,1) it will usually be corrupted by the basic relinker.

It can be avoided by having the second byte as $00, i.e $0802=$00.
This is the same trick used to allow a "0 SYS2059" line.
(or just put it at $0803 instead of $0801)
2010-09-30 19:51
Warnock
Account closed

Registered: Sep 2007
Posts: 27
Try using Super Snapshot V5 Cartridge rom. That's what I use. Or you can save the snapshot directly from vice. Just click on save snapshot image. When you reload the image, you will be returned to the same point you saved the image. Hope this helps.

<°)))>< Warnock/Style ><(((°>
2010-09-30 23:05
Frantic

Registered: Mar 2003
Posts: 1631
@turtle: don't know if it helps, but you could add a sys line like this:

  *=$0801
basic:
  ;BASIC line: 1 SYS 2061
  !byte $0b,$08,$01,$00,$9e,$32,$30,$36,$31,$00,$00,$00

start: ;This is at $080d as Jan said..
  LDA
  STA
  etc..

Then it can be executed by standard LOAD + RUN. A better way may be to use a packer like Cruncher AB or whatever to pack your executable. Crunchers add the required sysline etc to make your binary file executable
2010-10-04 09:48
White Flame

Registered: Sep 2002
Posts: 136
If you want to write code from the monitor, just start at $1000 or $c000 or something, and Basic's LOAD routine won't mung it up.

If you want LOAD/RUN support from monitor coding, type in "1 SYS2061" in BASIC before entering the monitor, enter your machine code at $080d, and save from $0801 - end-address.
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
ThunderBlade/BLiSS
Luca/FIRE
mutetus/Ald ^ Ons
Alakran_64
Guests online: 154
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Mojo  (9.7)
4 Coma Light 13  (9.7)
5 Edge of Disgrace  (9.6)
6 No Bounds  (9.6)
7 Aliens in Wonderland  (9.6)
8 Comaland 100%  (9.6)
9 Uncensored  (9.6)
10 Wonderland XIV  (9.6)
Top onefile Demos
1 Happy Birthday Dr.J  (9.7)
2 Layers  (9.6)
3 It's More Fun to Com..  (9.6)
4 Cubic Dream  (9.6)
5 Party Elk 2  (9.6)
6 Copper Booze  (9.6)
7 TRSAC, Gabber & Pebe..  (9.5)
8 Rainbow Connection  (9.5)
9 Dawnfall V1.1  (9.5)
10 Daah, Those Acid Pil..  (9.5)
Top Groups
1 Nostalgia  (9.4)
2 Oxyron  (9.3)
3 Booze Design  (9.3)
4 Censor Design  (9.3)
5 SHAPE  (9.3)
Top Logo Graphicians
1 Sander  (9.9)
2 Facet  (9.5)
3 Mermaid  (9.4)
4 Pal  (9.4)
5 Shine  (9.3)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.037 sec.