again i have a problem with this pasting in
code from one program into another. this is my code:
.org 9327h
call _zerooop1 ; Set Op1 to zero
ld hl,progname1 ; the name of the prog
ld de,op1
; copy it to op1
ld bc,3 ; 3
chars in name
ldir
; do the copying
call _chkfindsym ; look it up
call nc,_delvar ; if it is there delete it
ld hl,3780 ;
length of program (in bytes)
call _createprog ; create it
inc de
; skip 1st length byte
inc de
; skip 2nd length byte
ld hl,prog1 ; program
data
ld bc,17 ; program
data length
ldir
; copy data
ret
; all done!
progname1:
.db PROGOBJ," SV",0
prog1:
.db "3F180600006F9A7C9ACD9547CD5547210101225282213D96CD8147210107225282214896CD814721010D225282215796CD8147210113225282216196CD8147210119225282216B96CD814721011F225282217A96CD814721012B225282219996CD814721013122528221B696CD8147210137225282218996CD8147CDFE4CFE09CA3093FE40CA3996FE8F2831FE90CA5694FE91CAB094FE92CA2E95FE93CA8895FE94CA069618D4C9CDFE4CFE97CA3096FE40CA3996FE09CA309318ECC9CD554721010122528221C096CD814721010722528221D896CD814721010D22528221F696CD8147210113225282211097CD8147210119225282212897CD814721011F225282214297CD8147210125225282215E97CD814721012B225282217897CD8147210131225282219797CD8147C3CF93CD554721010122528221B497CD814721010722528221C597CD814721010D22528221D697CD814721011322528221EE97CD8147210119225282210698CD814721011F225282212198CD8147210125225282212798CD8147C3CF93CD5547210101225282213998CD8147210107225282215598CD814721010D225282217098CD8147210113225282219996CD814721011922528221B696CD814721011F225282218998CD8147210125225282219398CD814721012B22528221A798CD814721013122528221BB98CD814721013722528221CD98CD8147C3CF93CD554721010122528221E398CD814721010722528221F698CD814721010D225282210D99CD8147210113225282211399CD8147210119225282212A99CD814721011F225282213999CD8147210125225282215699CD8147C3CF93CD5547210101225282215F99CD8147210107225282217699CD814721010D225282218799CD814721011322528221A599CD814721011922528221B699CD814721011F22528221D499CD814721012522528221EE99CD814721012B22528221059ACD814721013122528221169ACD8147210137225282212A9ACD8147C3CF93CD5547210101225282213E9ACD8147210107225282214B9ACD814721010D22528221529ACD8147C3CF93CD5547CDEB4BC3CF93CD5547C9313A766563746F72656E00323A73636875696E6520776F727000333A4543422028312900343A4543422028322900353A64796E616D6963612028312900363A64796E616D6963612028322900B220737461617420766F6F72205E3200312D39206F6D2074757373656E20646520706167696E61277320746520626C61646572656E2E00613D61782B617920202F612F3D76286178B22B6179B22900706C61617473766563746F72207228742920766520766F6F7277657270006F7020742076657262696E642067656B206F206D657420767700723D706F732076773D782A65782B792A65792B7A2A657A00766572706C61617473696E6773766563746F723D72652D726200736E656C6865696473763A762874293D76782874292A65782E2E2E00766572736E656C6C696E6773763D61782874292A65782E2E2E003D3E6F6E74626F6E64656E20696E2061742028726B742061616E20626E2900656E20616E206C6472656368742065726F703A677274652F7269636800783A65726220782874293D766F782A74003D2F766F2F636F73612A74203D3E743D00793D6576726220792874293D2D392E38312F326D2F73B20074B22A766F672A743D2D2E2E2E2F766F2F73696E612A74003D2D78B23A282F766F2FB22A636F73B2292A392E38312E2E2E2B007467612A78006472616368743A792878293D67726F6E6400686F656B736E656C686569643D64656C4F273A64656C743D7727670077272874293D644F27743A64742020543D74696A6420766F6F720031206F6D772C663D61616E74206F6D772F7320543D313A66002F77272F3D3270692A66763D65782A64783A64742B65792A64793A6474003D65782A642852636F734F27287429293A64742B65792A64285273696E4F27287429293A64743D65782A73696E4F27644F272874293A64742B65790052636F734F27644F272874293A64743D3E77272F762F3D762852B27727B22873696EB22B636F73B229293D522F77272F613D65782A64285273696E4F277727293A64742B657900642852636F734F277727293A6474003D2D527727B2636F734F272965782D28527727B273696E4F27296579002F612F3D76B23A52006B72616368743A64796E2F737461742061737065637400313A747261616768656964736265672E00323A746F6573746E6420727573742077696A7A6967207665726569737400463D6D2A61203A4E3D6B67206D2F73B200333A61637469652D72656163746965204632313D2D46313220327379730076656C642D28656C6D61673D3E636F756C292F636E7463744600696E77656E6420463A68656666656E20656C6B206F7000467A3D6D2A6720203B466E20203B20200046773C3D7527732A2F466E2F20616C7320763D6F46773D7527642A2F466E2F20616C7320763D2F6F636F733D61616E6C3A73636800463D2D622A76002F462F3D312F3276B24143502020633D6C63687477727374636F656600536F63636572203230303000F03C40403804047800FF",tEnter => this is (again)
what i mean!!!! but when i compile it with ultraedit 32 he gives an error: max number of
args exceeded. I know this is a
large program i'm trying to put in, but he also gives an error when you don't
have such a large program. i think
it has something to do with the .db statement (also get sometimes errors when i
try to put strings (about six words or so, so that's not much i recon) on my
screen that way), but that's the way i learned it (from James Matthews :)).
.db tEnd,tEnter
.db "0000",tEnter
.db tEnd
greats vladimir