====== DSKO$ ====== /* Remove the comments after creating content for each section.*/ Writes to a disk sector the contents of a logical buffer in memory /* For the lines below, just create links, separated by commas, to other pages of the BASICs section, like [[:basics:basicTagName]]. "Implemented by" should mention BASICs which implement the keyword like described, in a more usual and standard way. "With variations" should point to BASICs where this keyword is used a bit differently. "Also written as" should list alternative spellings and abbreviations this keyword has. No need to refer to a BASIC, there is a section for that later. */ **Implemented by:** [[:basics:trscolor:colordisk]], [[:basics:MSX:msxdisk]] **With variations:** **Also written as: ** ===== Usage ===== /* For inline examples of syntax, write the keyword between '' and '' (two single quotes) */ In [[:basics:msx:|MSX BASIC]], this statement is implemented by the [[:basics:msx:msxdisk|MSX DiskBASIC extension]]. It does not look like a function but requires two comma-separated arguments: * a number which identifies the disk drive, being 0 the current drive, 1 for drive A:, 2 for drive B: and so on up to 6. Disk swapping may be required in a system with only one physical drive. * the number of the 512-byte disk sector to be written to. The content to be written to disk must be [[POKE]]d into a buffer area in memory, whose address is stored as a 16-bit integer in &HF351 and &HF352. ==== Variations ==== ===== Examples ===== /* Below is an example of a code block, using GeSHi syntax highlighting for //gwbasic//. Other styles of interest might be //basic4gl//, //blitzbasic//, //freebasic//, //gambas//, //locobasic//, //purebasic//, //qbasic//, //sdlbasic//, //thinbasic//, //vb//, //vbnet//, //xbasic// or //zxbasic//. 10 PRINT "HELLO" */ ===== Comments ===== /* Origin of the keyword, opinions, history... */ ===== Related keywords ===== /* Keywords that are often or always used along this one */ * [[DSKI-S|DSKI$]] ===== Similar keywords ===== /* Keywords with the same or similar functionality found in other versions of BASIC */ ===== In other languages... ===== /* For parallels and comparisons with other modern-day languages */ ===== References ===== /* If you used the ((citation)) syntax elsewhere in the text, they will appear under this section. But you can write some recommendations of books, magazines, etc */ /* ===== TAGS ===== Please use the syntax below for adding tags to this page, separated by spaces (use quotes for tags with spaces). The most important tags to be used are, separated by groups: - Statements | Commands | SpecialVariables | Operators {{tag>tagName}} */ {{tag>Statements Disk}}