Setting colors in STS 6.2

ZXNet echo conference «code.zx»

From Ivan Roshin To All 25 September 2002

Hello, All! ═══════════════════ stscolor.C ══════════════════ (c) Ivan Roshchin, Moscow Fido: 2:5020/689.53 ZXNet: 500:95/462.53 E-mail: bestview@mtu-net.ru WWW: http://www.ivr.da.ru Setting colors in STS 6.2 ══════════════════════════ ("Radiomir. Your computer" 9/2002, under the pseudonym BV_Creator) In the widely used STS 6.2 debugger, unfortunately There is no option to customize the color of the dialog panels. Sometimes this causes inconvenience: for example, on my black and white On the monitor, some dialog panels look too dark. Adjusting the colors, however, is quite easy - you just need to know which cell stores the value that defines the screen attributes for a specific dialogue. Here is the information: ╔═══════════════════════ ═════╦═════════════════╗ ║ Dialogue title ║ Attribute address ║ ╠═══════════════════════ ═════╬═════════════════╣ ║ Load file, Save file ║ #E701 ║ ╟─────────────────────── ─────╫─────────────────╢ ║ Find ║ #E917 ║ ╟─────────────────────── ─────╫─────────────────╢ ║ Resident ║ #E51F ║ ╟─────────────────────── ─────╫─────────────────╢ ║ Quit ║ #DECD ║╟────────────────────────────╫─────────────────╢ ║ Trace ║ #E079 ║ ╟────────────────────────────╫─────────────────╢ ║ Fill Block ║ #E83F ║ ╟────────────────────────────╫─────────────────╢ ║ Copy Block ║ #E8AB ║ ╟────────────────────────────╫─────────────────╢ ║ Drive ║ #E469 ║ ╟────────────────────────────╫─────────────────╢ ║ Jump ║ #DF78 ║ ╟────────────────────────────╫─────────────────╢ ║ Call ║ #DF5F ║ ╟────────────────────────────╫─────────────────╢ ║ Load sectors, Save sectors ║ #E31A ║ ╟────────────────────────────╫─────────────────╢ ║ Get subroutine tacts ║ #D3E5 ║ ╟────────────────────────────╫─────────────────╢ ║ Help ║ #D56E ║ ╚════════════════════════════╩═════════════════╝ Табл. 1 Hапомню, что в байте атрибутов младшие три бита определяют цвет текста (ink), старшие три - цвет фона (paper), а 6-й бит - яркость. Установка нужных значений производится с помощью самого же STS. Запускаем его, загружаем в память файл "sts6.2 ",in which changes will be made, we set according to the corresponding addresses with the required values and write the file, that’s it everything. And one more thing: when STS starts, the screen turns white until you press any key, but white color can be replaced with any other, changing the value at address #D070. Just keep in mind that in this the bytes of the ink and paper attributes must be the same. About some STS situations that arise during work signals by changing the color of the curb. These colors can also be configure by changing the values in the corresponding memory cells: ╔══════════════════════════════ ════════╦═════════════════════╗ ║ Situation ║ Address of border color ║ ╠══════════════════════════════ ════════╬═════════════════════╣ ║ When executing command "A" - ║ ║ ║ prompt to enter the cell number, ║ #F6C7 ║ ║ where the current address will be remembered. ║ ║ ╟────────────────────────────── ────────╫─────────────────────╢ ║ The mnemonic was entered incorrectly ║ ║ ║ assembler. ║ #EC24 ║ ╟────────────────────────────── ────────╫─────────────────────╢ ║ When searching (Find), the sequence is ║ ║ ║ not found in 64 KB of memory. ║ ║ ╟─────────────────── ───────────────────╢ #E419 ║║ Read/write error during operation ║ ║ ║ with disk. ║ ║ ╟────────────────────────────── ────────╫─────────────────────╢ ║ There is no disk space. ║ #E5B5 ║ ╚══════════════════════════════ ════════╩═════════════════════╝ Table 2 ════════════════════════ ════════════════════════ Best regards, Ivan Roshchin.

From Ivan Roshin To All 25 September 2002

Hello, All! ═══════════════════ stscolor.C ══════════════════ (c) Ivan Roshchin, Moscow Fido: 2:5020/689.53 ZXNet: 500:95/462.53 E-mail: bestview@mtu-net.ru WWW: http://www.ivr.da.ru Setting colors in STS 6.2 ══════════════════════════ ("Radiomir. Your computer" 9/2002, under the pseudonym BV_Creator) In the widely used STS 6.2 debugger, unfortunately There is no option to customize the color of the dialog panels. Sometimes this causes inconvenience: for example, on my black and white On the monitor, some dialog panels look too dark. Adjusting the colors, however, is quite easy - you just need to know which cell stores the value that defines the screen attributes for a specific dialogue. Here is the information: ╔═══════════════════════ ═════╦═════════════════╗ ║ Dialogue title ║ Attribute address ║ ╠═══════════════════════ ═════╬═════════════════╣ ║ Load file, Save file ║ #E701 ║ ╟─────────────────────── ─────╫─────────────────╢ ║ Find ║ #E917 ║ ╟─────────────────────── ─────╫─────────────────╢ ║ Resident ║ #E51F ║ ╟─────────────────────── ─────╫─────────────────╢ ║ Quit ║ #DECD ║╟────────────────────────────╫─────────────────╢ ║ Trace ║ #E079 ║ ╟────────────────────────────╫─────────────────╢ ║ Fill Block ║ #E83F ║ ╟────────────────────────────╫─────────────────╢ ║ Copy Block ║ #E8AB ║ ╟────────────────────────────╫─────────────────╢ ║ Drive ║ #E469 ║ ╟────────────────────────────╫─────────────────╢ ║ Jump ║ #DF78 ║ ╟────────────────────────────╫─────────────────╢ ║ Call ║ #DF5F ║ ╟────────────────────────────╫─────────────────╢ ║ Load sectors, Save sectors ║ #E31A ║ ╟────────────────────────────╫─────────────────╢ ║ Get subroutine tacts ║ #D3E5 ║ ╟────────────────────────────╫─────────────────╢ ║ Help ║ #D56E ║ ╚════════════════════════════╩═════════════════╝ Табл. 1 Напомню, что в байте атрибутов младшие три бита определяют цвет текста (ink), старшие три - цвет фона (paper), а 6-й бит - яркость. Установка нужных значений производится с помощью самого же STS. Запускаем его, загружаем в память файл "sts6.2 ",in which changes will be made, we set according to the corresponding addresses with the required values and write the file, that’s it everything. And one more thing: when STS starts, the screen turns white until you press any key, but white color can be replaced with any other, changing the value at address #D070. Just keep in mind that in this the bytes of the ink and paper attributes must be the same. About some STS situations that arise during work signals by changing the color of the curb. These colors can also be configure by changing the values in the corresponding memory cells: ╔══════════════════════════════ ════════╦═════════════════════╗ ║ Situation ║ Address of border color ║ ╠══════════════════════════════ ════════╬═════════════════════╣ ║ When executing command "A" - ║ ║ ║ prompt to enter the cell number, ║ #F6C7 ║ ║ where the current address will be remembered. ║ ║ ╟────────────────────────────── ────────╫─────────────────────╢ ║ The mnemonic was entered incorrectly ║ ║ ║ assembler. ║ #EC24 ║ ╟────────────────────────────── ────────╫─────────────────────╢ ║ When searching (Find), the sequence is ║ ║ ║ not found in 64 KB of memory. ║ ║ ╟─────────────────── ───────────────────╢ #E419 ║║ Read/write error during operation ║ ║ ║ with disk. ║ ║ ╟────────────────────────────── ────────╫─────────────────────╢ ║ No disk space. ║ #E5B5 ║ ╚══════════════════════════════ ════════╩═════════════════════╝ Table 2 ════════════════════════ ════════════════════════ Best regards, Ivan Roshchin.